finished check_flight