updated index for modularity