added simulation and time execution