Three essays on international trade