added updated ReadScore() function