Planning for the unexpected