added nc support