encapsulate grid search in its own function; use best params