added a stop statement if the first time step entered by the user is negative