Trying to get the searchbar to function