added adjacent phrase swapping