A compound according to general formula wherein X represents N or CH; R 1 is selected from the group consisting of -CN, (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (3-7 membered)heterocycloalkyl, (5-6 membered)heteroaryl, (C 3 -C 7)cycloalkyl(C 1 -C 4)alkyl, (3-7 membered)heterocycloalkyl-(C 1 -C 4)alkyl and (5-6 membered)heteroaryl-(C 1 -C 4)alkyl, wherein said (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (3-7 membered)heterocycloalkyl, (5-6-membered)heteroaryl, (C 3 -C 7)cycloalkyl(C 1 -C 4)alkyl, (3-7 membered)heterocycloalkyl-(C 1 -C 4)alkyl and (5-6 membered)heteroaryl-(C 1 -C 4)alkyl is optionally substituted with one or more substituents independently selected from R 6; R 2 is selected from the group consisting of halogen, cyano, (C 1 -C 4)alkyl and (C 3 -C 7)cycloalkyl, wherein said (C 1 -C 4)alkyl and (C 3 -C 7)cycloalkyl is optionally substituted with one or more substituents independently selected from -OH and halogen; R 3 is selected from the group consisting of halogen, cyano, (C 1 -C 4)alkyl, (C 1 -C 4)haloalkyl and (C 3 -C 7)cycloalkyl; R 4 is selected from the group consisting of (C 1 -C 4)alkyl and (C 1 -C 4)haloalkyl; R 5 is selected from the group consisting of (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl, (C 3 -C 7)cycloalkyl-(C 1 -C 6)alkyl, (3-7 membered)heterocycloalkyl, phenyl, (5-6 membered)heteroaryl and -OR a; wherein said (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl, (C 3 -C 7)cycloalkyl-(C 1 -C 6)alkyl, (3-7 membered)heterocycloalkyl, phenyl, (5-6 membered)heteroaryl and -OR a is optionally substituted with one or more substituents independently selected from R 7; R 6 represents the group consisting of -OH, -CN, halogen, =O, -S 2 R b, -NR c R d, - NR c C Rd, -C NR c R d, -S 2 NR c R d, -NR c S 2 R b, -OR b, -C R b, (C 1 -C 4)alkyl, hydroxy(C 1 -C 4)alkyl, halo(C 1 -C 4)alkyl, (C 3 -C 7)cycloalkyl, (3-7 membered)heterocycloalkyl and (5-6 membered)heteroaryl; R 7 represents the group consisting of -OH, -CN, halogen, (C 1 -C 4)alkyl, (C 3 -C 7)cycloalkyl and (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl-; R a represents (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl- or (C 3 -C 7)-cycloalkyl(C 1 -C 6)alkyl; R b represents (C 1 -C 6)alkyl or (C 3 -C 7)cycloalkyl; R c and R d each independently represents H, (C 1 -C 6)alkyl or (C 3 -C 7)cycloalkyl; or pharmaceutically acceptable salts, hydrates or solvates thereof. wherein X represents N or CH; R 1 is selected from the group consisting of -CN, (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (3-7 membered)heterocycloalkyl, (5-6 membered)heteroaryl, (C 3 -C 7)cycloalkyl(C 1 -C 4)alkyl, (3-7 membered)heterocycloalkyl-(C 1 -C 4)alkyl and (5-6 membered)heteroaryl-(C 1 -C 4)alkyl, wherein said (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (3-7 membered)heterocycloalkyl, (5-6-membered)heteroaryl, (C 3 -C 7)cycloalkyl(C 1 -C 4)alkyl, (3-7 membered)heterocycloalkyl-(C 1 -C 4)alkyl and (5-6 membered)heteroaryl-(C 1 -C 4)alkyl is optionally substituted with one or more substituents independently selected from R 6; R 2 is selected from the group consisting of halogen, cyano, (C 1 -C 4)alkyl and (C 3 -C 7)cycloalkyl, wherein said (C 1 -C 4)alkyl and (C 3 -C 7)cycloalkyl is optionally substituted with one or more substituents independently selected from -OH and halogen; R 3 is selected from the group consisting of halogen, cyano, (C 1 -C 4)alkyl, (C 1 -C 4)haloalkyl and (C 3 -C 7)cycloalkyl; R 4 is selected from the group consisting of (C 1 -C 4)alkyl and (C 1 -C 4)haloalkyl; R 5 is selected from the group consisting of (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl, (C 3 -C 7)cycloalkyl-(C 1 -C 6)alkyl, (3-7 membered)heterocycloalkyl, phenyl, (5-6 membered)heteroaryl and -OR a; wherein said (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl, (C 3 -C 7)cycloalkyl-(C 1 -C 6)alkyl, (3-7 membered)heterocycloalkyl, phenyl, (5-6 membered)heteroaryl and -OR a is optionally substituted with one or more substituents independently selected from R 7; R 6 represents the group consisting of -OH, -CN, halogen, =O, -S 2 R b, -NR c R d, - NR c C Rd, -C NR c R d, -S 2 NR c R d, -NR c S 2 R b, -OR b, -C R b, (C 1 -C 4)alkyl, hydroxy(C 1 -C 4)alkyl, halo(C 1 -C 4)alkyl, (C 3 -C 7)cycloalkyl, (3-7 membered)heterocycloalkyl and (5-6 membered)heteroaryl; R 7 represents the group consisting of -OH, -CN, halogen, (C 1 -C 4)alkyl, (C 3 -C 7)cycloalkyl and (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl-; R a represents (C 1 -C 6)alkyl, (C 3 -C 7)cycloalkyl, (C 1 -C 6)alkyl-(C 3 -C 7)cycloalkyl- or (C 3 -C 7)-cycloalkyl(C 1 -C 6)alkyl; R b represents (C 1 -C 6)alkyl or (C 3 -C 7)cycloalkyl; R c and R d each independently represents H, (C 1 -C 6)alkyl or (C 3 -C 7)cycloalkyl;