Debug for toOpposite method