Separated the printing of airline from the business logic