create class CNF