NCCN in TMC-1 and IRC+10216