How to steal an election