adding Optimum_search