initial: prepared the tree