now can use a pickle model for fitting rather than using every parameter