generate a class for a reduced data set