handling digest for weekly/daily