FlightController modified