switch column and row number