train relationship