for each loop for calculation and the offer.