swapped rows and columns