a little better and now with totalVotes