Clauses of Time

Change the sentences using the words in brackets.
He promised to phone the moment he (arrive) in Orlando.He promised to phone the moment he arrived in Orlando.
He had tidied the room by the time his mother (get) home.He had tidied the room by the time his mother got home.
We'll have a party when our exams (be) over.We'll have a party when our exams are over.
You can go home whenever you (want) to.You can go home whenever you want to.
They were talking while we (watch) the film.They were talking while we were watching the film.
Tom arrived home just as Wendy (leave).Tom arrived home just as Wendy was leaving.
We went to sleep after we (eat) our meal.We went to sleep after we had eaten our meal.