A new level of selectivity in formaldehyde detection