Choose the sentence which means the same as the first sentence.
We’d had dinner when Wendy arrived. ...