xor gate added