add score implementation