added the logic to stop bids larger than 13 and smaller than 0