reorganized tree structure