Updated integrator template