diff --git a/src/datalink/robot.h b/src/datalink/robot.h
index b805f7e28f67a943e02964ed237c884f0cdd71de..a63af07cb98b8c913f984c17ed86d8db5f4aa9c8 100644
--- a/src/datalink/robot.h
+++ b/src/datalink/robot.h
@@ -1,5 +1,4 @@
 #include "worldobject.h"
-
 #include <vector>
 #ifndef ROBOT_MODELS_R_H
 #define ROBOT_MODELS_R_H
@@ -8,13 +7,18 @@ class robot : public worldobject
 {
 public:
     std::string robname;
-    joint *jo1= new joint;
+    joint* jo[10]= {new joint};
+
+    //*jo[10]= nullptr;
+    //= new joint;
+    /* joint *jo1= new joint;
     joint *jo2= new joint;
     joint *jo3= new joint;
     joint *jo4= new joint;
     joint *jo5= new joint;
     joint *jo6= new joint;
-    joint *jo7= new joint;
+    joint *jo7= new joint;*/
+
     bool of,moving,grasppos;
     std::string planninggrp;
 };