add self.by_market to vendor class