A preliminary version of the simulator.