Added a search method