working on lm fitter, basics in place not tested