This function and the `lines` variable are not namespaced and therefore global -- it would have been possible to put them both in the `SubwayTrip` class.