working on tallying totals for ratings