A compound of formula I, wherein R 1 is aminoC 1-6 alkyl, aminocarbonylC 1-6 alkyl, C 1-6 alkyl, C 3-7 cycloalkyl, carboxyC 1-6 alkyl, cyanoC 1-6 alkyl, haloC 1-6 alkyl, hydrogen or hydroxyC 1-6 alkyl; R 2 is C 1-6 alkoxy, C 1-6 alkyl, haloC 1-6 alkoxy, haloC 1-6 alkyl, halogen or hydrogen; One of R 3 and R 4 is C 3-7 cycloalkylC 1-6 alkyl, C 1-6 alkyl or hydrogen; the other one is 1,1-dioxothianyl, aminocarbonylC 1-6 alkyl, azetidinyl, C 1-6 alkylcarbonylazetidinyl, C 1-6 alkylsufonylpiperidinyl,, carboxyC 1-6 alkyl, haloC 1-6 alkyl, hydroxyC 1-6 alkylcarbonyl, phenylcarbonyl, phenylsulfonyl or tetrahydropyranyl; or R 3 and R 4 together with the nitrogen to which they are attached form 1,1-dioxo-thiazolidinyl; 1,1-dioxo-thiazinanyl; 2-oxa-6-azaspiro[3.3]heptanyl; 2-oxa-7-azaspiro[4.4]nonanyl; 3-oxa-8-azabicyclo[3.2.1]octanyl; 6-oxo-2-oxa-7-azaspiro[3.4]octanyl; azetidinyl; oxoimidazolidinyl; oxopyrrolidinyl; substituted azetidinyl; substituted morpholinyl; substituted oxooxazolidinyl; substituted oxopiperazinyl; substituted oxopyrrolidinyl; substituted piperazinyl; substituted piperidinyl or substituted pyrrolidinyl; wherein said substituted azetidinyl, substituted morpholinyl, substituted oxooxazolidinyl, substituted oxopiperazinyl, substituted oxopyrrolidinyl, substituted piperazinyl, substituted piperidinyl and substituted pyrrolidinyl are substituted with one, two or three substituents independently selected from aminocarbonyl, aminocarbonylC 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxyC 1-6 alkyl, C 1-6 alkoxyC 1-6 alkylsulfonyl, C 1-6 alkyl, C 1-6 alkylcarbonyl, C 1-6 alkylcarbonylamino, C 1-6 alkylsulfonyl, C 1-6 alkylsulfonylamino, C 1-6 alkylsulfonylaminocarbonyl, carboxy, carboxyC 1-6 alkyl, cyano, halogen, hydroxy and hydroxyC 1-6 alkyl; A is N or CH; One of W, Q and Y is N, the others are CH; or a pharmaceutically acceptable salt, or enantiomer, or diastereomer thereof. R 1 is aminoC 1-6 alkyl, aminocarbonylC 1-6 alkyl, C 1-6 alkyl, C 3-7 cycloalkyl, carboxyC 1-6 alkyl, cyanoC 1-6 alkyl, haloC 1-6 alkyl, hydrogen or hydroxyC 1-6 alkyl; R 2 is C 1-6 alkoxy, C 1-6 alkyl, haloC 1-6 alkoxy, haloC 1-6 alkyl, halogen or hydrogen; One of R 3 and R 4 is C 3-7 cycloalkylC 1-6 alkyl, C 1-6 alkyl or hydrogen; the other one is 1,1-dioxothianyl, aminocarbonylC 1-6 alkyl, azetidinyl, C 1-6 alkylcarbonylazetidinyl, C 1-6 alkylsufonylpiperidinyl,, carboxyC 1-6 alkyl, haloC 1-6 alkyl, hydroxyC 1-6 alkylcarbonyl, phenylcarbonyl, phenylsulfonyl or tetrahydropyranyl; or R 3 and R 4 together with the nitrogen to which they are attached form 1,1-dioxo-thiazolidinyl; 1,1-dioxo-thiazinanyl; 2-oxa-6-azaspiro[3.3]heptanyl; 2-oxa-7-azaspiro[4.4]nonanyl; 3-oxa-8-azabicyclo[3.2.1]octanyl; 6-oxo-2-oxa-7-azaspiro[3.4]octanyl; azetidinyl; oxoimidazolidinyl; oxopyrrolidinyl; substituted azetidinyl; substituted morpholinyl; substituted oxooxazolidinyl; substituted oxopiperazinyl; substituted oxopyrrolidinyl; substituted piperazinyl; substituted piperidinyl or substituted pyrrolidinyl; wherein said substituted azetidinyl, substituted morpholinyl, substituted oxooxazolidinyl, substituted oxopiperazinyl, substituted oxopyrrolidinyl, substituted piperazinyl, substituted piperidinyl and substituted pyrrolidinyl are substituted with one, two or three substituents independently selected from aminocarbonyl, aminocarbonylC 1-6 alkyl, C 1-6 alkoxy, C 1-6 alkoxyC 1-6 alkyl, C 1-6 alkoxyC 1-6 alkylsulfonyl, C 1-6 alkyl, C 1-6 alkylcarbonyl, C 1-6 alkylcarbonylamino, C 1-6 alkylsulfonyl, C 1-6 alkylsulfonylamino, C 1-6 alkylsulfonylaminocarbonyl, carboxy, carboxyC 1-6 alkyl, cyano, halogen, hydroxy and hydroxyC 1-6 alkyl; A is N or CH; One of W, Q and Y is N, the others are CH;