Removed duplicate loop

Yep.