Allowed carrage to know what train it's connected to