starting a module on loops