Changes to get the score without errors