move to XOR