started the voting functionality