detecting chemical reactions