adding nodes dependency