detecting and analyzing organic compounds