flipped the rows and columns to how it should have been in the first place