Add speed control loop