adding tree.h