a captain can be used for flying an aircraft