added support for bids