changed total to score