added score_subset function, added further documentation