Added for loop structure and syntax.