Added Logic for Takeoff and landing