Added XOR and NOR