add: function tree.