add nc and config