thresholding to enhance secrecy