replace digest with apply