draft setNodesCached and getNodesCached