setting up modularity