updated docs in ncd.c