Added the train model