added for loops hw