add StopWatch and the main simulator.