added bidding functionality