internal and external environment