Pulling a president out of the hat