maingrid_factory