fixed missing part when testing. nc and private key