Proper parent->child->parent etc linking