How the moon got up in the sky