change to root node for variables, wip