how did the simulation work?