change the create data set method