add training data mode