array of modules in global variable