adding nodes works