cine mă poate ajuta?

2)We were listening to music when the lights went off.
We were listening to music while the lights went off.
3)I lost my keys when I was running on the beach.
While I was running on the beach I lost my keys.
4)Somebody stole my bag when I was talking to my friend.
While I was talking to my friend,someone stole my bag.
5)Danny called when you were taking the dog for a walk.
While you were taking the dog for a walk,Danny called.
6)I was getting ready for the beach when it started to rain.
While I was getting ready for the beach, it started raining.