import bidding functionality from old repo