rotated search