replaced name with node.name