1. While we were having dinner, my dad arrived home.
We were having dinner when my dad arrived home.
2. I was trying to sleep when the phone rang.
The phone rang while I was trying to sleep.
3. She was climbing up some rocks when she fell.
As she was climbing up some rocks, she fell.
4. While you were shopping I tidied your room.
You were shopping when I tidied your room.
5. The boat hit some rocks as it was sailing towards the shore.
The boat was sailing towards the shore when it hit some rocks.