added bootstrap to model fit