made getScore a double