fixed form for loops