Swaps needle and haystack