adding scoring into pipline