changed total field to total_votes