added simple scoring scheme