for loops with and without blocks