1. The chef had prepared the food by the time the guests arrived.
2. When l came home , l saw that she had already done the shopping .
3. The war had ended when Jim began his job in Chile .
4. She had just entered her house when the earthquake started.
5. He had just put the phone down when it rang again.