added lsq print