refactor showing vote results