replaces search in store.rb