get data out of the node class