rotated array