small refactoring for voting, colors for poll graphs