better DIGEST support