added airlinetoggle function