testing new loop

Fixed the for loop