Add a console.log for each iteration.