took column change out of for loop