altered auctionMarket func