For loops and source code