A method of manufacturing a compound of formula or a stereomer, tautomer or a salt thereof, wherein, U is CR U or N, wherein R U is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; V is CR V or N, wherein R V is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; W is CR W or N, wherein R W is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; provided that at least one of U, V and W is N; Z is CR Z or N, wherein R Z is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; R 1 is selected from the group consisting of hydrogen, halogen and -N(R T)R S, wherein R T and R S are hydrogen or C 1 -C 7 -alkyl, or wherein R T and R S together with the nitrogen to which they are attached form a C 3 -C 8 mono- or bicyclic heterocyclic ring optionally containing one or more additional ring atoms selected from N, O or S, wherein said heterocyclic ring is optionally substituted with one or more groups independently selected from C 1 -C 7 -alkyl or C 3 -C 7 -cycloalkyl; R 2 is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; and R 3 is hydrogen or halogen, characterized in that a compound of formula wherein Y 2 B represents a residue of an acyclic boronic acid, an acyclic boronic ester, or a cyclic boronic ester, and R 2 and R 3 are defined as for the compound of formula; R 4 is hydrogen, C 1 -C 7 -alkyl or C 5 -C 7 -cycloalkyl; R 5 and R 6 are C 1 -C 7 -alkyl, or R 5 and R 6 together represent C 4 -C 6 -cycloalkyl; and the crossed double bond between N and C(R 4)N indicates a cis and/or trans double bond; is reacted with a compound of formula in which the groups U, V, W and R 1 are defined as above; and R 7 is halogen; in an aqueous organic solvent or an immiscible organic solvent - water mixture at temperatures from 0°C to the boiling point of the solvent or solvent mixture in the presence of a Pd or Pd phosphine catalyst and a base; and the resulting formamidine of formula wherein the substituents have the meanings as defined above, is hydrolyzed, in situ or after isolation, in aqueous acid or basic solution. U is CR U or N, wherein R U is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; V is CR V or N, wherein R V is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; W is CR W or N, wherein R W is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; provided that at least one of U, V and W is N; Z is CR Z or N, wherein R Z is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; R 1 is selected from the group consisting of hydrogen, halogen and -N(R T)R S, wherein R T and R S are hydrogen or C 1 -C 7 -alkyl, or wherein R T and R S together with the nitrogen to which they are attached form a C 3 -C 8 mono- or bicyclic heterocyclic ring optionally containing one or more additional ring atoms selected from N, O or S, wherein said heterocyclic ring is optionally substituted with one or more groups independently selected from C 1 -C 7 -alkyl or C 3 -C 7 -cycloalkyl; R 2 is selected from the group consisting of hydrogen, cyano, halogen, methyl and trifluoromethyl; and R 3 is hydrogen or halogen, Y 2 B represents a residue of an acyclic boronic acid, an acyclic boronic ester, or a cyclic boronic ester, and R 2 and R 3 are defined as for the compound of formula; R 4 is hydrogen, C 1 -C 7 -alkyl or C 5 -C 7 -cycloalkyl; R 5 and R 6 are C 1 -C 7 -alkyl, or R 5 and R 6 together represent C 4 -C 6 -cycloalkyl; and the crossed double bond between N and C(R 4)N indicates a cis and/or trans double bond; in which the groups U, V, W and R 1 are defined as above; and R 7 is halogen; in an aqueous organic solvent or an immiscible organic solvent - water mixture at temperatures from 0°C to the boiling point of the solvent or solvent mixture in the presence of a Pd or Pd phosphine catalyst and a base;