modularity analysis