added nand and nor