more work on the train object.