deltat is needed earlier