Confusion between iterations and concurrency