added trainbase