add grid search & performance tuning
task3 output