refactored using connectChildParent method
refactor using disconnectChildFromParent method