new functions in training