Iterator is more suited for the job.