Before implementing the search pattern