Job opportunities and international division of labor