added function to actually complete the action of bidding