include tree_functions.h and ifndef