added functionalities for community detection