add digest to frontend BETA