How Donald Trump pulled it off