How Chemical Foam extinguishers worked