using for loops for repeating content