added getScores(self)