adding in the hypergraph