Change syntax for search method