change parameter to the search() method.