add interface for runge kutta method