learned for loops