added some preliminary ideas about fitting