added functionality for saving bids