Added XOR security