     // loop[1, 2, 3]
     // rept[30, 15, 5, 3]
     if(type == "blink") {
-      //blink(looper, time);
-      repeater(looper, time, repeat);
+      blink(looper, time);
     }
     else if(type == "pulse") {
-      //blink(looper, time);
-      repeater(looper, time, repeat);
+      blink(looper, time);
     }
     else {
-      // error in data, perform default
-      //blink(looper, time);
-      repeater(looper, time, repeat);
+      blink(looper, time);
+    }
+  }
+  
+  int time_end = millis();
+  int time_diff = time_end - TIME_START;
+  if(time_diff > 5000) {
+    TIME_START = millis();
+    if(REPEATING) {
+      Serial.println("repeat");
+      blink(looper, time);
     }
   }
   

   btSerial.write("AT+BAUD4");
   btSerial.write("AT+NAMETurquoiseBicuspid");
   btSerial.write("AT+PIN1234");
}

void loop()

void pulse(int looper, int time) {
  // same as above, but with pwm
}
