Use of tree macros