How the moon was made