Fitting coded up