rendering the simulation works