figuring out how the airplane should move