adding potential lm fit for psf