add resolving of root