Working version with two fit functions.