changing external_nodes to external_node