function 'subsetDS' completed.