set values when creating related objects
correcly create deep subjoins