adding digest data to array