search method 1