done with GUI
diff --git a/include/sync-app-socket.h b/include/sync-app-socket.h
index bb533a9..c190824 100644
--- a/include/sync-app-socket.h
+++ b/include/sync-app-socket.h
@@ -82,12 +82,17 @@
   void fetchString(const std::string &prefix, const SeqNo &seq, CcnxWrapper::StringDataCallback callback, int retry = 0);
   void fetchRaw(const std::string &prefix, const SeqNo &seq, CcnxWrapper::RawDataCallback callback, int retry = 0);
 
-  void passCallback(const std::vector<MissingDataInfo> &v) {m_newDataCallback(v, this);}
+  // for sync-demo
+  std::string getRootDigest() {return m_syncLogic.getRootDigest();}
+
 
 private:
   uint32_t
   getNextSeq (const std::string &prefix, uint32_t session);
 
+  void 
+  passCallback(const std::vector<MissingDataInfo> &v) {m_newDataCallback(v, this);}
+
 private:
   typedef boost::unordered_map<std::string, SeqNo> SequenceLog;
   NewDataCallback m_newDataCallback;