' when ', ' while ' and ' as ' are important time markers. They can be used with the past simple or the past continuous part of the sentence. '. when I arrived at the restaurant, he was talking to ...