update local branch
add score counting function