Added parent value to node and insert of root node