add buildTrainningSet