   }
   digitalWrite(en1, HIGH);
 }
-else if (motor ==2){
-    digitalWrite(en2, LOW); 
-    if (direct == 1){
-      digitalWrite(dir2, HIGH);}//empty
-      else if (direct ==2){
-        digitalWrite(dir2, LOW);}// fill
-    for (int i=0; i<=num; i++){
-      digitalWrite(step2, HIGH);
-      delay(2);
-      digitalWrite(step2, LOW);
-      delay(2);
-  }
-  digitalWrite(en2, HIGH);
-}
-}
+}
+
 void measurevol(){
   int junk = analogRead(depth);
   float tank1 = analogRead(depth)*0.438596-30.7018;
   float tank2 = analogRead(depth)*0.438596-30.7018;
   float tank3 = analogRead(depth)*0.438596-30.7018;
   float tank4 = analogRead(depth)*0.438596-30.7018;
-  float tank5 =analogRead(depth)*0.438596-30.7018;
+  float tank5 = analogRead(depth)*0.438596-30.7018;
   float tank6 = analogRead(depth)*0.438596-30.7018;
-  float tank7 =analogRead(depth)*0.438596-30.7018;
+  float tank7 = analogRead(depth)*0.438596-30.7018;
   float tank8 = analogRead(depth)*0.438596-30.7018;
   tank = (tank1 + tank2 + tank3 + tank4 + tank5 + tank6 + tank7 + tank8)/8;
 }

  lcd.setCursor(0,1);
  lcd.print(tank);
}
void decant(){ // empty through decant pump checking volume
  lcd.clear();
  lcd.setCursor(0,0);

int en1 = 2; //1 is fill
int step1 = 3;
int dir1 = 4;
int decantpump = 5;
int fillpump = 6;
int skimmer =7;
int air = 9;
int stir = 8;
int depth = A0;
float tank;
void setup() {
  pinMode(en1, OUTPUT);
  pinMode(decantpump, OUTPUT);
  pinMode(step1, OUTPUT);
  pinMode(fillpump, OUTPUT);
  pinMode(dir1, OUTPUT);
  pinMode(skimmer, OUTPUT);
  pinMode(air, OUTPUT);
  pinMode(stir, OUTPUT);
  pinMode(depth, INPUT);
  digitalWrite(en1, HIGH);
  lcd.begin(16, 2);
   if (! rtc.begin()) {
    lcd.print("Couldn't find RTC");
