adding node type