Il dottore pagò l’architetto mentre (pro) chiudeva la cartella .
the doctor.MASC.SG . pay.IND.PFV.3SG . the architect.MASC.SG . while pro close.IND.IPFV.3SG . the folder.FEM.SG . 
The doctor paid the architect, while (pro) was closing the folder.