put the verbs in brackets into the past simple or the past perfect simple..
1.the chef..... (prepare) the food by the time the guests..... (arrive).
2.When I.... (come) home, I saw that She....... (already /do) the shopping.
3.The war...... (end) when Jim..... (begin) his job in Chile.
4.She...... (just/enter) her house when the earthquake.....(start).
5.He....... (just/put) the phone down when it..... (ring) again .