simulation_wrapper