Learning to fly