Added statements to for loop.