search with search bar, output still in terminal