getting rid of the loop, apparently that didn't work at all