next_train and helpers