deleted the old code
added a listener for the search field in the searchController; added a method for grabbing the searchTextField in the searchView