re-implement search for bids