Added resimulateSession method