Finished up the simulation