changed node.data to node.content