connecting child models to parent model