analyzing the internal and external environment