added total score at the end