swapping of columns