I had saved my document
He was very tired
When they arrived
She had just left the room
The train had just left
John had gone out
when I arrived in the office.
we had already started cooking.
when I arrived at the station.
because he hadn't slept well.
I had saved my document before the computer crashed.
when the police arrived.