Rule reminder
Mentre + [Imperfetto = ongoing background] + [Passato Prossimo = interrupting event]. Both tenses are needed in the same sentence.
While the children were sleeping, the parents prepared the Christmas gifts.
More in this section