New method for detecting hidden outputs