changed score to total_score