renamed nid to node