Recognition of chemical changes