working on flux fitter