Planning at midnight