add train_core