Example code in Market.deal is inconsistent with function call