How does the plane know its way?