route method added to train