revew lab 2

done in 2 diffrent loops