add some tree-node methods