Implemented Voting functionality