added odeint and mmade stage optional