added prototype save of the fitting results