added search functionality to store