changed the way the searchbar works.