changed the way a module is handled