swapped row and column