environment diagnostic