finetuning the search