table2: rotated modee now fully working