   }
 
 //  delay(100);
+}
+
+void pulseFan() {
+	fan_motor.set(1.0);
+	delay(3000);
+	fan_motor.set(0.0);
+	delay(1500);
 }
 
 void hDrive(double move, double rotate, double strafe) {


  	}
	
  	foundFlame = true;
  	digitalWrite(FLAME_LED, foundFlame);
  	
  	fan_motor.set(1.0);
  	
  	hDrive(0.0, 0.0, 0.0);
  	delay(100);
	
  	while (frontUltrasonic.getDistance() > 0.5) {
  		hDrive(0.3, 0.0, 0.0);
  		extingusher_servo.write(110);
  		delay(600);
  		extingusher_servo.write(70);
  		delay(600);
  		hDrive(0.0, 0.0, 0.0);
  		delay(200);
  		digitalWrite(FLAME_LED, !digitalRead(flame_sensor));
  	}

	  hDrive(0.0, 0.0, 0.0);
  }
  else{
    digitalWrite(SOUND_LED, LOW);

      gyroResetValZ += getAngle('z');
      break;
  }
}
