add function to print out formtted node data