first steps towards parameter fitting