implemented caller defined scoring scheme