add Voting function