environmental impairment detection