before implementing the logic of adding root as child