almost ready for VerifySignature