Improving modularity