support for related instances