   }
 
   else if(oldSpeed == midVal){
-    if(probability < 20){
+    if(probability < 40){
       return hiVal;
     }
-    else if(probability < 70){
+    else if(probability < 90){
       return midVal;
     }
     else{

void loop() {
  static unsigned long timePassed;
  static int changeVal;
  delay(10);



    }


    if(random(5001) < 1){
      sleep(5, 10);

    }

    else if(random(10001) < 10){
      sleep(1800, 2400); //sleep between 30 and 40 minutes
    }
    timePassed = millis();
