use node.name rather than node for equality comparison