adding fitcurveml