adds training data