added some error handling for if there are no auctions