support for explicit root node