updated findParent and findChildren