Planning with the moon