airline logic