added explicit node type references
deleting nodes