returns root with dummy root variable
returns root without using dummy variable