draft for score calculation