implmented class Score