   lcd.setCursor(0, 0);
   delay(100);
   lcd.setCursor(0,1);
-  decantdrain();
+  //decantdrain();
   while (x<1){
-   //partialempty();
-   //aeration(60,17);
+   //fillup();
+   //aeration();
    //delay(1000);
    //decant(6);//loading();
     x++;}
-    normalsequence();
-}
+    //normalsequence();
+}

//int slowsludge = 5;

int x=0;
float TimeToFill=60000;//300000;//5min
float airtimer=60000;//600000;//10min
//float partialemptytime=30000;//60000;//1min
float decanttime=60000;//600000;//10min
unsigned long timenow;

void setup() {

  digitalWrite(decant, LOW);
      
}
void thirtysecaeration(){
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("30Aeration ");
  lcd.setBacklight(GREEN);
  unsigned long starttime = millis();
  delay(100);
  while (x==0){
      if ((millis()-starttime)>thirtysecairtime){//5min
       digitalWrite(air,LOW);
       x=1;
      }
      else if ((millis()-starttime)<thirtysecairtime){
       digitalWrite(air,HIGH);
       int timedisplay = round((thirtysecairtime-(millis()-starttime))/60/1000);
       lcd.setCursor(0,1);
       lcd.print(timedisplay);lcd.print("min  ");
       digitalWrite(air, HIGH);
    delay(30000);
    digitalWrite(air, LOW);
    delay(30000);
    delay(30000);
    delay(30000);
    delay(30000);
      }
      delay(200);
    }
  digitalWrite(air, LOW);
  digitalWrite(fill, LOW);
  digitalWrite(decant, LOW);
}
void rest(float resttime){//rest time in ms
  lcd.clear();
  lcd.setCursor(0,0);
