add trainActivity.