Add score calculation