add score computing