add simulation time and delete tasks