happy with scoring function

Change-Id: I2814514750de24b958ab4a72f035fbc6d3273842