create a simulation class