       // are we there yet?
       if (swBack == LOW) {
         motorBrake();
-        Serial.print(F("Back switch triggered - door open\n"));
+        Serial.print(currentMillis);
+        Serial.print(F(" Back switch triggered - door open\r\n"));
+        Serial.print(F("Total ms: "));
+        Serial.println(driveTotalMillis);
         openMillis = 0;
         setLeds1(green, ledFade);
         doorState = doorOpen;

      // stop if button pressed while in motion
      if (swTrigger == LOW) {
        motorFree(); // TODO: motorBrake() might be better for an emergency stop. doesn't make much different in our case, the belt skips and the door stops in both cases
        Serial.print(F("Button switch triggered - door blocked\n"));
        setLeds1(red, ledSolid);
        doorState = doorBlocked;
swTrigger = HIGH;

      }

      driveStepMillis += elapsedMillis;
      driveTotalMillis += elapsedMillis;
      if (driveStepMillis >= accelProfile[accelProfileIdx].stepMillis) {
        driveMillis += driveStepMillis;
        driveStepMillis = 0;
