   leftServo.attach(LEFT_SERVO_PIN);
   rightServo.attach(RIGHT_SERVO_PIN);
   extinguisher.attach(EXTINGUISHER_PIN);
+  stopRobot();
+  extinguisher.write(90);
 
   pinMode(IR_PIN, INPUT);
 }

        stopExtinguisher();
      }
    }
  }
}


}

void extinguishFire(){
  while (detectFire()) {
    if (frontUltrasonic.getDistance() > 3) {
      moveForward();
    } else {
