modify the module pattern