Added alternative method for fitting