re-adds digest function