implemented node.getNodes