A compound of general formula wherein A is -CH or -N-; B is -CH or -N-; D is -CH or -N-; X is -CH or -N-; R 3 is -CF 3, CHF 2 or halogen; W is a 5 or 6-membered heteroaryl ring, optionally substituted with one or more substituents selected from -CN, -NO 2, -O(C 1 -C 6)alkyl, -(C 1 -C 3)alkyl-O-(C 1 -C 6)alkyl, -(C 1 -C 3)alkylamino, -(C 3 -C 8)cycloalkyl, -OH, (C 1 -C 3)alkyl, halo, -CF 3 and -SO 2 (C 1 -C 4)alkyl; R 1 is H or is selected in the group consisting of -C R 4, -(CH 2) t -(CHR 6) n -R 4,-(CH 2) t -(CHR 6) n S(O 2)-NR 4 R 5, -S(O 2)-R 4, -(CH 2) t -(CHR 6) n -C -NR 4 R 5, -(CH 2) t -(CHR 6) n -C O-R 4; R 4 is H or is selected in the group consisting of -(C 1 -C 6)alkyl, -(C 2 -C 6)alkyl-NR 7 R 8, -(C 2 -C 6)alkyl-N + R 7 R 8 R 9, -(C 2 -C 6)alkyl-O-(C 1 -C 4)alkyl, -(C 2 -C 6)alkyl-S(O 2)(C 1 -C 4)alkyl, -(CH 2) t -aryl, -(CH 2) t -(C 3 -C 8)cycloalkyl, -(CH 2) t -(C 3 -C 8)heterocycloalkyl and - (CH 2) t -heteroaryl, optionally substituted with one or more substituents selected from -CN, -NO 2, -O(C 1 -C 6)alkyl, -(C 1 -C 3)alkyl-O-(C 1 -C 6)alkyl, -(C 1 -C 3)alkylamino, -(C 3 -C 8)cycloalkyl, -OH, (C 1 -C 3)alkyl, halo, -CF 3 and -SO 2 (C 1 -C 4)alkyl; n is 0 or an integer selected from 1, 2 or 3; t is 0 or an integer selected from 1, 2 or 3; R 5 is H or -(C 1 -C 6)alkyl; R 6 is H, -(C 1 -C 6)alkyl, -CF 3 or -CHF 2; R 7 is H or -(C 1 -C 6)alkyl; R 8 is H or -(C 1 -C 6)alkyl; R 9 is H or -(C 1 -C 6)alkyl; wherein alternatively R 4 and R 5 together with the nitrogen atom they are linked to, may form a (C 3 -C 8)heterocycloalkyl or heteroaryl ring system, optionally substituted with one or more substituents selected from -CN, -NO 2, -O(C 1 -C 6)alkyl, -(C 1 -C 3)alkyl-O-(C 1 -C 6)alkyl, -(C 1 -C 3)alkylamino, -(C 3 -C 8)cycloalkyl, -OH, (C 1 -C 3)alkyl, halo, -CF 3 and - SO 2 (C 1 -C 4)alkyl, wherein the heteroatoms of the (C 3 -C 8)heterocycloalkyl or heteroaryl ring system are maximum three and selected from -N, -NH, -O, -S- and -SO 2; R 2 is H or is selected from the group consisting of, -SMe, -S R 7, -S(O 2)R 7 and halogen; and pharmaceutically acceptable salts thereof. A is -CH or -N-; B is -CH or -N-; D is -CH or -N-; X is -CH or -N-; R 3 is -CF 3, CHF 2 or halogen; W is a 5 or 6-membered heteroaryl ring, optionally substituted with one or more substituents selected from -CN, -NO 2, -O(C 1 -C 6)alkyl, -(C 1 -C 3)alkyl-O-(C 1 -C 6)alkyl, -(C 1 -C 3)alkylamino, -(C 3 -C 8)cycloalkyl, -OH, (C 1 -C 3)alkyl, halo, -CF 3 and -SO 2 (C 1 -C 4)alkyl; R 1 is H or is selected in the group consisting of -C R 4, -(CH 2) t -(CHR 6) n -R 4,-(CH 2) t -(CHR 6) n S(O 2)-NR 4 R 5, -S(O 2)-R 4, -(CH 2) t -(CHR 6) n -C -NR 4 R 5, -(CH 2) t -(CHR 6) n -C O-R 4; R 4 is H or is selected in the group consisting of -(C 1 -C 6)alkyl, -(C 2 -C 6)alkyl-NR 7 R 8, -(C 2 -C 6)alkyl-N + R 7 R 8 R 9, -(C 2 -C 6)alkyl-O-(C 1 -C 4)alkyl, -(C 2 -C 6)alkyl-S(O 2)(C 1 -C 4)alkyl, -(CH 2) t -aryl, -(CH 2) t -(C 3 -C 8)cycloalkyl, -(CH 2) t -(C 3 -C 8)heterocycloalkyl and - (CH 2) t -heteroaryl, optionally substituted with one or more substituents selected from -CN, -NO 2, -O(C 1 -C 6)alkyl, -(C 1 -C 3)alkyl-O-(C 1 -C 6)alkyl, -(C 1 -C 3)alkylamino, -(C 3 -C 8)cycloalkyl, -OH, (C 1 -C 3)alkyl, halo, -CF 3 and -SO 2 (C 1 -C 4)alkyl; n is 0 or an integer selected from 1, 2 or 3; t is 0 or an integer selected from 1, 2 or 3; R 5 is H or -(C 1 -C 6)alkyl; R 6 is H, -(C 1 -C 6)alkyl, -CF 3 or -CHF 2; R 7 is H or -(C 1 -C 6)alkyl; R 8 is H or -(C 1 -C 6)alkyl; R 9 is H or -(C 1 -C 6)alkyl; wherein alternatively R 4 and R 5 together with the nitrogen atom they are linked to, may form a (C 3 -C 8)heterocycloalkyl or heteroaryl ring system, optionally substituted with one or more substituents selected from -CN, -NO 2, -O(C 1 -C 6)alkyl, -(C 1 -C 3)alkyl-O-(C 1 -C 6)alkyl, -(C 1 -C 3)alkylamino, -(C 3 -C 8)cycloalkyl, -OH, (C 1 -C 3)alkyl, halo, -CF 3 and - SO 2 (C 1 -C 4)alkyl, wherein the heteroatoms of the (C 3 -C 8)heterocycloalkyl or heteroaryl ring system are maximum three and selected from -N, -NH, -O, -S- and -SO 2; R 2 is H or is selected from the group consisting of, -SMe, -S R 7, -S(O 2)R 7 and halogen; and pharmaceutically acceptable salts thereof.