improved digest