slight change of the simulation exercise