finished for market.rb find_by & find_all_by