almost working cnet-interface stuff