grid search to look at different parameters