make training and data set