       case 0: //do nothing        
       break;
       case 1://move to start position
-	servos[i].write(15,SPEED);
+	       servos[i].write(15,SPEED);
       break;
       case 2://mode to end position        
       	servos[i].write(170,SPEED);
       break;
-      case 3://move to last position
+      case 3://move to last position          
           moveServoToLastPosition(i);
       break;
     }    

      }
    }
   //write last pos to eprom
   //variables start with number 1
   cbus.setInternalNodeVariable(servoidx+1,lastPos);
}

//create the objects for each servo
void setUpServos(){
  byte ac = cbus.getNodeVar(SERVO_STARTACTION_VAR);
  for (uint8_t i=0;i<NUM_SERVOS;i++){
    servos[i].attach(servopins[i]);


}

void moveServoToLastPosition(byte idx){
    byte pos=cbus.getInternalNodeVar(idx+1);    
    if (pos < 175){
       servos[idx].write(pos,SPEED);
    }
