added rotated table