built more of the framework for the simulation