Analysis of the external environment