added xor