callback search method