changed column name in loops