add gridsearch version 1