   lcd.setBacklight(YELLOW);
   measurevol();
   lcd.setCursor(0,1);
-  lcd.print(tank);
+  lcd.print(tank);lcd.print("gal  ");
   float starttime = millis();
   delay(100);
   while (((millis()-starttime)<duration)&&(tank>lvl)){
+    int timedisplay = round((duration-(millis()-starttime))/60/1000);
     delay(10000);
     measurevol();
   lcd.setCursor(0,1);
-  lcd.print(tank);} //2 min
+  lcd.print(tank);lcd.print("gal  ");
+  lcd.print(timedisplay);lcd.print("min  ");} //2 min
 }
 void skim(float duration){//skim during settle
   duration=duration*60*1000;

  float starttime = millis();
  delay(100);
  while ((millis()-starttime)<duration){//1min
    digitalWrite(skimmer, HIGH);
    lcd.setCursor(0,1);
  lcd.print(tank);
  delay(15000);}
    digitalWrite(skimmer, LOW);
}

  now= rtc.now();
  float current = now.unixtime();
  while (current-realstarttime<86400){
    rest(3);
    now= rtc.now();
    current = now.unixtime();
  }
