Removed bad for loop