proper module, config by function params