solution to reverse