 }
 
 void  loop(){  
-  checkOverflow();
+  CheckWaterOn();
   digitalClockDisplay();
   Alarm.delay(1000); // wait one second between clock display
 }

}

void WaterOn(){
  if (!WATERON){
    lcd.setCursor(0, 1);
    digitalWrite(PUMP_PIN, HIGH);
    last_fill_start = millis();
    Alarm.timerOnce(0, FILLTIME_HALF_MINUTES, 0, WaterOff);
    WATERON = true;

unsigned long last_fill_start;

int OVERFLOW_PIN = 2;

void setup()
{
  pinMode(PUMP_PIN, OUTPUT);
  digitalWrite(PUMP_PIN, HIGH);
  pinMode(OVERFLOW_PIN, INPUT);
  
  // LCD Setup
