overload the simulation method for input