modifications for signature schemes