by esterification of -COOH or -SO3H groups