change modules to component