Some changed added to takeBids(). Not compiled form.