elections - all the voting code