find method for market.rb