added community detection