add definition of nary treenode