add node type and attr