BOOM. Fixed a bug in the for loop.