POL-6 Voting funtion working