replaced digest