separate out and return train routes