working on input in Simulation class
there is no return in the while loop atm