     turnOFF(f.out);
   } else { // Unlocked function.
     if (start < stop && BETWEEN(cycle.now(), start, stop)) {
-      if (f.name == knife.name) { knifeSecurity(); } // Before knife is ON.
+      if (f.name == knife.name) {
+        knifeSecurity();  // Before knife is ON.
+      }
       if (f.name == photocell.name && !jaw.lock && isOFF(sensor.photocell)) {
         LOCK(jaw); LOCK(knife); LOCK(cooler);
       } else {
         turnON(f.out);
       }
     } else if (start > stop && !BETWEEN(cycle.now(), stop, start)) {
-      if (f.name == knife.name) { knifeSecurity(); } // Before knife is ON.
+      if (f.name == knife.name) {
+        knifeSecurity();  // Before knife is ON.
+      }
       if (f.name == photocell.name && !jaw.lock && isOFF(sensor.photocell)) {
         LOCK(jaw); LOCK(knife); LOCK(cooler);
       } else {

  turnOFF(welder.out);
}

void updateAll() { cycle.update(); }

void Schedule(struct function f) {
  isON(dater.led) ? UNLOCK(dater) : LOCK(dater);
  if (isOFF(jaw.out)) {   LOCK(knife);   LOCK(cooler);}
  if ( isON(jaw.out)) { UNLOCK(knife); UNLOCK(cooler);}
  unsigned long start;
  f.start == 0 ? start = 0 : start = (f.start * cycle.last()) / jaw.stop;
  unsigned long stop;

    Schedule(cooler);
    Schedule(welder);
    reset();
    if (cycle.now() > jaw.stop || cycle.now() == 0) {
      modes.set(COOLDOWN);
    }
  } else if (modes.status(COOLDOWN)) { // COOLDOWN MODE
    cycle.stop();
    modes.set(WARMUP);
