Working xor example