1. I was playing on the computer when my mother entered the house.
2. Dan was playing football while his sister was playing with her dolls.
3. The tourists were sleeping when the fire burst out in the hotel.
4. You were speaking to your friends when your teacher came into the classroom.