added search bar returning text appropriating