degree and modularity (to be tested)