Refactored sim.cpp