separated def score into separate scoring class