add tree.element