overload PrintNodeData function