begins work on fit_grains config