removed caching of nodes, not working as expected