complete trainbase

complete trainbase