Made the SearchBar a dictionary.