See the pattern in use
POSITIVE
I was waiting when the bus arrived.Otobüs geldiğinde bekliyordum.
NEGATIVE
We weren’t driving at midnight.
QUESTION
What were you doing when they called?
Common learner mistake
Read the structure again, then say the corrected sentence aloud as one complete phrase.