added cnog. compiles, but untested.
cosmetic