Title: A prototype macroeconomic model of foreign direct investment