       strcat(current_buffer, arduino_buffer);
       
       #ifdef DEBUG
-      Serial.write("initial buffer is=");
-      Serial.write(current_buffer);
+        Serial.write("initial buffer is=");
+        Serial.write(current_buffer);
       #endif
       
       // parse from the beginning until I find a M, D, S or A

              tmp_str[j - i - 1] = 0;

              #ifdef DEBUG
              Serial.write("current command is=");
              Serial.write(tmp_str);
              #endif
              
              int motor_index, num_steps;

              is_command_running = 1;

              // remove the current executed command
              strcpy(current_buffer, current_buffer + j + 1);// not sure if this is good
              
              #ifdef DEBUG
                Serial.write("buffer left=");
                Serial.write(current_buffer);
                Serial.println(strlen(current_buffer));
              #endif
              
              break; //for i
