fixes to previous commit, added methods for vote summation