add digest feature