Title: A simulation approach to foreign investment