Addition of a reagent which reacts with a hetero atom or a group containing hetero atoms of the macromolecule