         Serial.print(", endpitch ");
         Serial.println(endPitch, DEC);
         Serial.print("direction ");
-        Serial.print(dir, BIN);
+        Serial.print(Dir, BIN);
         Serial.print(", recentre ");
-        Serial.print(recentre, BIN);
+        Serial.print(reCentre, BIN);
         Serial.print(", sustain ");
         Serial.println(sustainDuration, DEC);
     } else {
         // show test styles
         Serial.println("203: 0xcb: turn");
         Serial.println("204: 0xcc: gliss");
-        Serial.println("205: 0xcd: timedturn");
-        Serial.println("206: 0xce: durationturn");
-        Serial.println("207: 0xcf: durationgliss");
-        Serial.println("208: 0xd0: doublegliss");
+        Serial.println("205: 0xcd: timedTurn");
+        Serial.println("206: 0xce: durationTurn");
+        Serial.println("207: 0xcf: durationGliss");
+        Serial.println("208: 0xd0: doubleGliss");
         Serial.println("209: 0xd1: scale");
         Serial.println("210: 0xd2: arpeggio");
         Serial.println("211: 0xd3: show settings");

        Serial.print(" pitch ");
        Serial.print(startPitch, DEC);
        Serial.print(" direction ");
        Serial.print(dir, DEC);
        Serial.print(" time ");
        unsigned long starttime = millis();
        turn(halfTurns, startPitch, dir);
        Serial.println(millis() - starttime);
    } else if (style == 1) {
        // gliss

    delayMicroseconds(pulseWidth);
    // accelerando
    for (int i=0; i<accelsteps; i++) {
        oneStep(map(i, 0, accelsteps, max(maxPulse, startsustainpulse), startsustainpulse));
        if (alarmState) return 0;
    }
    // sustain start
    for (int i=0; i<sustainstartsteps; i++) {
        oneStep(startsustainpulse);
        if (alarmState) return 0;
    }
    // glissando one
    for (int i=0; i<glissonesteps; i++) {
        oneStep(map(i, 0, glissonesteps, startpulse, midpulse));
        if (alarmState) return 0;
    }
    // sustain mid
    for (int i=0; i<sustainmidsteps; i++) {
        oneStep(midsustainpulse);
        if (alarmState) return 0;
    }
    // glissando two
    for (int i=0; i<glisstwosteps; i++) {
        oneStep(map(i, 0, glisstwosteps, midpulse, endpulse));
        if (alarmState) return 0;
    }
    // sustain end
    for (int i=0; i<sustainendsteps; i++) {
        oneStep(endsustainpulse);
        if (alarmState) return 0;
    }
    // decelerando
    for (int i=0; i<decelsteps; i++) {
        oneStep(map(i, 0, decelsteps, endsustainpulse, max(maxPulse, endsustainpulse)));
        if (alarmState) return 0;
    }
    if (recentre) findSensor(max(maxPulse, endsustainpulse));
