changing the first time step--working code