diff --git a/CodeInterpreter.hh b/CodeInterpreter.hh
index b6068394ac3b90db7ea8b404a8a30e0f148f242b..2a4e755f7228091073eb364c553327997b79a9c2 100644
--- a/CodeInterpreter.hh
+++ b/CodeInterpreter.hh
@@ -1531,6 +1531,16 @@ public:
   {
     return nb_col_other_endo_jacob;
   };
+  inline vector<int>
+  get_endogenous()
+  {
+    return variable;
+  }
+  inline vector<unsigned int>
+  get_exogenous()
+  {
+    return exogenous;
+  }
   inline void
   write(ostream &CompileCode, unsigned int &instruction_number)
   {