New interface to runSimulation