Added digest check