Chnage getScore method