   // Initialise motors
   sX.begin();
   sY.begin();
+  sZ.begin();
 }
 
 void loop() {

    if(yindex != INT_MIN)
      sY.pos = yindex;

    if(xindex == INT_MIN && yindex == INT_MIN) {
      sX.pos = 0;
      sY.pos = 0;
      sZ.pos = 0;

    // Disable all stepper motors
    sX.disable();
    sY.disable();
    sZ.disable();
    // TODO add more motors
  } else if(mindex == 18) {
    // Enable all stepper motors
    sX.enable();
    sY.enable();
    sZ.enable();
    // TODO add more motors
  } else if(mindex == 300) {
    // Beep sound
