[wip] score function started