finished autopilot class