implemented search button