Title: The microeconomics of the firm in an open economy