refactor verify_sign to verify?