add functions in tree