Added case to search()