before Range-Kutta