1. I was having dinner when my friend phoned me.
2. When I arrived at the party, everybody was dancing.
3. They were walking to school when they they saw their friends.
4. When he walked into the cafe, his friends were waiting for him.
5. The thief was running out of the kitchen when I went in.