work for NNDataSet