move options to module