add vendor method to market.rb