Refactored airplane input.