Get rid of this loop. It doesn't belong here. See comments below