added #search method.