Completed reverseHalf