forgot to add xor and xori