The influence of foreign direct investment