modified:   xor.c