add reset and revoke