fixed nc functions