generate the module group