Revised loop for seeds.