tree, root and routing