judicial use of investigative modalities