Change getScore method