Adding search method