added digestOnce