Dumbledore's foresight