diff --git a/AMDiS/src/Traverse.h b/AMDiS/src/Traverse.h
index ac9b2a714dd674c8684c269cfbfd90ef48e41309..63dc4403e787e5376a0c86b2735d0caa09f10a74 100644
--- a/AMDiS/src/Traverse.h
+++ b/AMDiS/src/Traverse.h
@@ -178,6 +178,13 @@ namespace AMDiS {
       maxThreads_ = maxThreads;
     }
 
+    int getStackData(std::vector<ElInfo*> &elInfos, std::vector<int> &infos) {
+      elInfos = elinfo_stack;
+      infos = info_stack;
+
+      return stack_used;
+    }
+
   private:
     /** \brief
      * Enlargement of the stack