implementing search button