added restarting simulations