add Scorer class from older code