Fix syntax error
Introduce namespaces, inverted nodes, circular order