normal xor not working