attempt to run the simulation, fixing bugs