The invention relates to a method of manufacturing triazine, pyrimidine and pyridine derivatives of formula (I), wherein U, V, W and Z are nitrogen or carbon atoms, whereby at least one of U, V and W is nitrogen, and the other substituents are defined as in the specification, by condensing a corresponding halo-triazine, pyrimidine or pyridine in a type of Suzuki coupling with a pyridyl- or pyrimidinyl-borane, wherein the amino function is protected as a formamidine. The invention further relates to suitable intermediates and methods of manufacturing of such intermediates. Furthermore the invention relates to pure 5-(4,6-dimorpholino-1,3,5- triazin-2-yl)-4-(trifluoromethyl)pyridin-2-amine in solid form.