first test passed
planes can land take off
refactored code