xor from window