delete nodes.