Two integrator loop