added more nc functions