         spinningStartTime = millis();
 
         mode = Mode::SPINNING;
-      }
+      } // if(wpb.pressed())
       break;
-    }
+    } // case Mode::SETTING_SPEED
 
 
     case Mode::SPINNING:


      if(wpb.pressed())
      {
        // then implicitly set in stone the countdown value, change display, and enter next block
        //*** because mode will change, countdown will no longer be updated by pot, so on case switch countdown will equal its final value, no further updating necessary

        // Erase <> selector braces
        lcd.setCursor(10, 1);
        lcdPrintFormattedSecs(setDuration);
        lcd.print(F("    "));

        setDuration*= (long)1000;                     //*** to save space, the ATmega328P chip of UNO uses 2-byte ints, which can hold at max 32 767; operator*(int, int) will still return an int, but in this case an overflowed int;
                                                      //*** initSetTime, a long, will just be assigned the overflowed value--it won't force operator*(int, int) to return a long.
                                                      //*** so, by typecasting 1000 or using 1000L, you make the compiler promote analogRead() to a long, so operator*(long, long) will return the expected value, within range of sizeof long
        changedUIString = false;
        mode = Mode::SETTING_SPEED;
      }
      break;
    }


    case Mode::SETTING_SPEED:
    {
      motorSpeed = map(analogRead(POT_PIN), 0, 1024, 0, 255);

      lcd.setCursor(11, 2);
      lcd.print(F("<"));

      if(wpb.pressed() || secondsLeft == 0)
      {
        digitalWrite(MOTOR_PIN, LOW);
        changedUIString = false;                        // UI string will be changed back!
        mode = Mode::SETTING_TIME;
      } // if(wpb.pressed() || secondsLeft == 0)
      break;
    } // case Mode::SPINNING
  } // switch(mode)
} // void loop()

/* `inline` = suggestion to the compiler to paste the raw code of this function
  wherever it's called == performance optimization, no hopping pointers to callers
  and callbacks
  */
inline void lcdPrintFormattedSecs(unsigned long seconds)
{
  lcd.print(seconds/60); lcd.print(F(":")); lcd.print((seconds%60 < 10 ? F("0") : F(""))); lcd.print(seconds%60);
}
