Voting logic is functioning