changed around reducer in Data() so Data.reducer is the fitted function (instead of Data.reducer_fit)