A compound of formula wherein, R 1 is -C 1-3 alkyl or -C 1-3 haloalkyl; R 2 is selected from hydrogen and -C 1-3 alkyl, or R 2 is selected from 4-7 membered heterocycloalkyl, wherein the heterocycloalkyl group can be optionally and independently substituted with one or more groups independently selected from -C 1-3 alkyl, - C (C 1-3 alkyl) 2 and -S 2 (C 1-3 alkyl) 2; R 3 is -C 1-4 alkyl substituted with one or more groups independently selected from halogen, -C 1-2 haloalkyl, -O-C 1-3 alkyl, -O-C 1-3 halolkyl, 4-7 membered heterocycloalkyl, -C 3-7 cycloalkyl; X 3 is -CH= or -N=; X 4 is -CR 4 = or -N=; X 5 is -CR 5 = or -N=; X 6 is -CH= or -N=; wherein none, one or two X 3 to X 6 can be -N=; R 4 is selected from hydrogen, halogen, -CN, -NH 2, -O-C 1-3 alkyl, -N(C 1-3 alkyl) 2, -C N(C 1-3 alkyl) 2 and -C 1-5 alkyl, wherein the -C 1-5 alkyl group can be optionally and independently substituted with one or more groups independently selected from halogen or -CN, or R 4 is selected from 4-7 membered heterocycloalkyl, wherein the heterocycloalkyl group can be optionally and independently substituted with one or more groups independently selected from -C 1-3 alkyl, or R 4 is a -C 3-6 cycloalkyl wherein the cycloalkyl group can be optionally and independently substituted with one or more groups independently selected from C 1-3 alkyl, -C 1-3 haloalkyl and halogen; R 5 is selected from hydrogen, halogen, -N(C 1-3 alkyl) 2, or R 5 is selected from 4-7 membered heterocycloalkyl, wherein the heterocycloalkyl group can be optionally and independently substituted with one or more groups independently selected from -C 1-3 alkyl; wherein R 4 and R 5 cannot be both hydrogen; or when X 4 is -CR 4 and X 5 is -CR 5, R 4 and R 5 together can form 5 membered heterocycloalkyl of the following types: R 7 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 8 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 9 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; and wherein the compounds of formula may be optionally be present in the form of salts. R 1 is -C 1-3 alkyl or -C 1-3 haloalkyl; R 2 is selected from hydrogen and -C 1-3 alkyl, or R 2 is selected from 4-7 membered heterocycloalkyl, wherein the heterocycloalkyl group can be optionally and independently substituted with one or more groups independently selected from -C 1-3 alkyl, - C (C 1-3 alkyl) 2 and -S 2 (C 1-3 alkyl) 2; R 3 is -C 1-4 alkyl substituted with one or more groups independently selected from halogen, -C 1-2 haloalkyl, -O-C 1-3 alkyl, -O-C 1-3 halolkyl, 4-7 membered heterocycloalkyl, -C 3-7 cycloalkyl; X 3 is -CH= or -N=; X 4 is -CR 4 = or -N=; X 5 is -CR 5 = or -N=; X 6 is -CH= or -N=; wherein none, one or two X 3 to X 6 can be -N=; R 4 is selected from hydrogen, halogen, -CN, -NH 2, -O-C 1-3 alkyl, -N(C 1-3 alkyl) 2, -C N(C 1-3 alkyl) 2 and -C 1-5 alkyl, wherein the -C 1-5 alkyl group can be optionally and independently substituted with one or more groups independently selected from halogen or -CN, or R 4 is selected from 4-7 membered heterocycloalkyl, wherein the heterocycloalkyl group can be optionally and independently substituted with one or more groups independently selected from -C 1-3 alkyl, or R 4 is a -C 3-6 cycloalkyl wherein the cycloalkyl group can be optionally and independently substituted with one or more groups independently selected from C 1-3 alkyl, -C 1-3 haloalkyl and halogen; R 5 is selected from hydrogen, halogen, -N(C 1-3 alkyl) 2, or R 5 is selected from 4-7 membered heterocycloalkyl, wherein the heterocycloalkyl group can be optionally and independently substituted with one or more groups independently selected from -C 1-3 alkyl; wherein R 4 and R 5 cannot be both hydrogen; or when X 4 is -CR 4 and X 5 is -CR 5, R 4 and R 5 together can form 5 membered heterocycloalkyl of the following types: R 7 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 8 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 9 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 7 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 8 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl; R 9 is selected from -C 1-3 alkyl, and -C 1-3 haloalkyl;