add "digest" option