start to generate train data