Chemical sensing technology