add score method