I was doing something = I was in the middle of doing something at a certain time. The action or situation had already started before this time, but had not finished.
“This time last year I was living in Brazil.”
“What were you doing at 10 o’clock last night?”
“I waved to Helen, but she wasn’t looking.”





