Replace the hydroxyl group with a carboxyl group.