got rid of TempNamedNode and new/delete