arrange the modules