formatting nodes.cpp