   } else if (waterPumpIsOn && moistureThreshold < moistureSensorVal) {
     waterPumpIsOn = false;
     Console.println("Watering stopped");
-  } else if (waterPumpIsOn && waterLevel == "LOW") {
+  } else if (waterPumpIsOn && waterLevelStatus == "LOW") {
     waterPumpIsOn = false;
     Console.println("Watering stopped");
   }  

  waterLevelVal = analogRead(waterSensorPin);
  
  if (waterLevelVal < waterLevelThreshold) {
   waterLevel = "LOW";
  } else {
   waterLevel = "OK";
  }    
}


//===== For water level sensor ===================
const byte waterSensorPin = A2;
// todo - find right value for this
const int waterLevelThreshold = 300; // <- made this up
int waterLevelVal;
String waterLevelStatus = "OK";

//===== For water pump ===========================
boolean waterPumpIsOn = false;
unsigned long wateringSeconds = 10000;
unsigned long prevWatering = 0;

//===== For timed events =========================
// todo - timed events use regule marers for 1 min 1 hour etc and divide blah
