   lcd.setCursor(0,1);
   lcd.print(tank);
   float starttime = millis();
+  digitalWrite(decantpump, HIGH);
+  delay(2000);
+  digitalWrite(decantpump, LOW);
+  delay(1000);
+  digitalWrite(decantpump, HIGH);
+  delay(2000);
+  digitalWrite(decantpump, LOW);
+  delay(1000);
  while (tank>level){
     digitalWrite(decantpump, HIGH);
     measurevol();
     lcd.setCursor(0,1);
   lcd.print(tank);lcd.print("gal  ");
-  delay(10000);}
+  delay(3000);}
     digitalWrite(decantpump, LOW);
 }
 void rest(float longt){ //everything off except maybe stir

  float current = now.unixtime();
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print(daysOfTheWeek[now.dayOfTheWeek()]);//"loop        ");
  delay(100);
  lcd.setCursor(0,1);
  lcd.print(tank);
  while (x<1){
   decant(6);//loading();
    x++;}
    //write conditions for running sequence here and add functions
  if (now.dayOfTheWeek()== 1){//"Monday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}
  if (now.dayOfTheWeek()== 2){//"Tuesday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}
  if (now.dayOfTheWeek()== 3){//"Wednesday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}
  if (now.dayOfTheWeek()== 4){//"thursday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}
  if (now.dayOfTheWeek()== 5){//"Friday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}
  if (now.dayOfTheWeek()== 6){//"Saturday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}//fillplusair(21,1);thirtysecaeration(100,10);}}
  if (now.dayOfTheWeek()== 0){//"Sunday"
    if (now.hour()>6 && now.hour()<8){normalsequence();}}//weekend();}
  delay(20000);
  weekend();}

      measurevol();
      lcd.setCursor(0,1);
      lcd.print(tank);lcd.print("gal");
      delay(3000);
      measurevol();
      lcd.setCursor(0,1);
      lcd.print(tank);lcd.print("gal");
      //digitalWrite(air,LOW);
      if ((airadd == 1) && (millis()-lastair > 300000)){
       digitalWrite(air,HIGH);
       lastair = millis();
      }
      else if ((airadd == 1) && (millis()-lastair > 30000)){
       digitalWrite(air,LOW);
      }
    }
  digitalWrite(fillpump, LOW);
