added total scores to front end