Added XOR capability