Text this: International trade with endogenous technological change