extract params to module