working on simple fitter