private void updateChildName() { childName = child.getName(); }
private void updateRootName() { rootName = root.getName(); }