More work on the grid search exercise