tuning the search