component to module