A compound of formula wherein R is straight chain or branched alkyl having 1 to 4 carbon atoms, wherein 1 to 5 hydrogen atoms may be replaced by Hal or OH; W is CH or N; A denotes one of the following groups: X is N or CR′′′; R′′′, Rʺʺ independently denote H, Hal, NR 3 R 4, CHR 3 R 4, OR 3, CN, straight chain or branched alkyl having 1 to 12 carbon atoms, wherein 1 to 3 CH 2 -groups may be replaced by a group selected from O, NR 3, S, SO, SO 2, S, CO, COO, OCO, CONR 3, NR 3 CO and wherein 1 to 5 hydrogen atoms may be replaced by Hal, NR 3 R 4 or NO 2; R 3, R 4 denote each independently H or a straight chain or branched alkyl group having 1 to 12 carbon atoms; Q denotes one of the following groups: R 5, R 5 ', R 6, R 7 independently denote H, Hal, NR 3 R 4, NO 2, straight chain or branched alkyl having 1 to 12 carbon atoms, wherein 1 to 3 CH 2 -groups may be replaced by a group selected from O, NR 3, S, SO, SO 2, S, CO, COO, OCO, CONR 3, NR 3 CO and wherein 1 to 5 hydrogen atoms may be replaced by Hal, NR 3 R 4, NO 2, OR 3, Het, Ar, Cyc, or denote Ar, Het or Cyc; R 8 denotes H, methyl or straight chain or branched alkyl having 2 to 12 carbon atoms, wherein 1 to 3 CH 2 -groups may be replaced by a group selected from O, NR 3, S, SO, SO 2, S, CO, COO, OCO, CONR 3, NR 3 CO and wherein 1 to 5 hydrogen atoms may be replaced by Hal, NR 3 R 4 or NO 2; Hal denotes F, Cl, Br or I; Het denotes a saturated, unsaturated or aromatic ring, being monocyclic or bicyclic or fused-bicyclic and having 3- to 8- members and containing 1 to 4 heteroatoms selected from N, O and S, which may be substituted by 1 to 3 substituents selected from R 5, Hal and OR 3; r denotes a 6-membered carbocyclic aromatic ring or a fused or non fused bicylic aromatic ring system, which is optionally substituted by 1 to 3 substituents independently selected from R 5, OR 3 and Hal; Cyc denotes a saturated or an unsaturated carbocyclic ring having from 3 to 8 carbon atoms which is optionally substituted by 1 to 3 substituents independently selected from R 5 or Hal or OH; m and n simultaneously denote 1 and solvates, salts, tautomers, enantiomers, racemates and stereoisomers thereof, including mixtures thereof in all ratios and compounds of formula I, wherein one or more H atoms are replaced by D (deuterium). R is straight chain or branched alkyl having 1 to 4 carbon atoms, wherein 1 to 5 hydrogen atoms may be replaced by Hal or OH; W is CH or N; A denotes one of the following groups: X is N or CR′′′; R′′′, Rʺʺ independently denote H, Hal, NR 3 R 4, CHR 3 R 4, OR 3, CN, straight chain or branched alkyl having 1 to 12 carbon atoms, wherein 1 to 3 CH 2 -groups may be replaced by a group selected from O, NR 3, S, SO, SO 2, S, CO, COO, OCO, CONR 3, NR 3 CO and wherein 1 to 5 hydrogen atoms may be replaced by Hal, NR 3 R 4 or NO 2; R 3, R 4 denote each independently H or a straight chain or branched alkyl group having 1 to 12 carbon atoms; Q denotes one of the following groups: R 5, R 5 ', R 6, R 7 independently denote H, Hal, NR 3 R 4, NO 2, straight chain or branched alkyl having 1 to 12 carbon atoms, wherein 1 to 3 CH 2 -groups may be replaced by a group selected from O, NR 3, S, SO, SO 2, S, CO, COO, OCO, CONR 3, NR 3 CO and wherein 1 to 5 hydrogen atoms may be replaced by Hal, NR 3 R 4, NO 2, OR 3, Het, Ar, Cyc, or denote Ar, Het or Cyc; R 8 denotes H, methyl or straight chain or branched alkyl having 2 to 12 carbon atoms, wherein 1 to 3 CH 2 -groups may be replaced by a group selected from O, NR 3, S, SO, SO 2, S, CO, COO, OCO, CONR 3, NR 3 CO and wherein 1 to 5 hydrogen atoms may be replaced by Hal, NR 3 R 4 or NO 2; Hal denotes F, Cl, Br or I; Het denotes a saturated, unsaturated or aromatic ring, being monocyclic or bicyclic or fused-bicyclic and having 3- to 8- members and containing 1 to 4 heteroatoms selected from N, O and S, which may be substituted by 1 to 3 substituents selected from R 5, Hal and OR 3; r denotes a 6-membered carbocyclic aromatic ring or a fused or non fused bicylic aromatic ring system, which is optionally substituted by 1 to 3 substituents independently selected from R 5, OR 3 and Hal; Cyc denotes a saturated or an unsaturated carbocyclic ring having from 3 to 8 carbon atoms which is optionally substituted by 1 to 3 substituents independently selected from R 5 or Hal or OH; m and n simultaneously denote 1