Analysis of the environment