remove code that is now unnecessary in node.cpp