for itaration 3