reset parent's child
small modifying
try to implement unary(not success)
should use Node() class