detect environment