change lsq to factory