finish the simulator.