LOOP: 2 CALCULATION, 2 LOOP: 3 CALCULATION, 3