A compound of formula wherein X is O or S; R 1 is hydrogen, halogen, methyl or cyano; R 2 is hydrogen, halogen, methyl or cyano; R 3 and R 4 are each independently hydrogen, halogen or methyl; R 5 and R 6 are each independently selected from hydrogen, halogen, C 1 -C 5 alkoxy, C 1 -C 5 alkyl, C 3 -C 5 cycloalkyl, C 2 -C 5 alkenyl or C 2 -C 5 alkynyl, wherein the alkyl, cycloalkyl, alkenyl and alkynyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; or R 5 and R 6 together with the carbon atom to which they are attached represent C 3 -C 6 cycloalkyl or C 4 -C 6 cycloalkenyl, wherein the cycloalkyl and cycloalkenyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; R 7 is hydrogen, C 1 -C 4 alkyl, C 1 -C 4 haloalkyl or C 3 -C 4 cycloalkyl, wherein the alkyl and cycloalkyl, may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; R 8 and R 9 are each independently selected from hydrogen, halogen, C 1 -C 4 alkyl and C 1 -C 4 alkoxy; or R 8 and R 9 together with the carbon atom to which they are attached represent =O, =NOR a, C 3 -C 5 cycloalkyl, wherein the cycloalkyl may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; each R 10 independently represents halogen, nitro, cyano, formyl, C 1 -C 5 alkyl, C 2 -C 5 alkenyl, C 2 -C 5 alkynyl, C 3 -C 6 cycloalkyl, C 1 -C 5 alkoxy, C 3 -C 5 alkenyloxy, C 3 -C 5 alkynyloxy, C 1 -C 5 alkylthio, -C(=NOR b)C 1 -C 5 alkyl, or C 1 -C 5 alkylcarbonyl, wherein the alkyl, cycloalkyl, alkenyl, alkynyl, alkoxy, alkenyloxy, alkynyloxy and alkylthio may be optionally substituted with 1 to 5 substituents independently selected from halogen, C 1 -C 3 alkyl, C 1 -C 3 alkoxy, cyano and C 1 -C 3 alkylthio; n is 0, 1, 2 or 3; R a is independently selected from hydrogen, C 1 -C 4 alkyl, C 2 -C 4 alkenyl, C 3 -C 4 alkynyl, C 3 -C 4 cycloalkyl(C 1 -C 2)alkyl and C 3 -C 4 cycloalkyl, wherein the alkyl, cycloalkyl, alkenyl and alkynyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen and cyano; and R b is independently selected from hydrogen, C 1 -C 4 alkyl, C 2 -C 4 alkenyl, C 3 -C 4 alkynyl, C 3 -C 4 cycloalkyl(C 1 -C 2)alkyl and C 3 -C 4 cycloalkyl, wherein the alkyl, cycloalkyl, alkenyl and alkynyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen and cyano; or a salt, enantiomer or N-oxide thereof. X is O or S; R 1 is hydrogen, halogen, methyl or cyano; R 2 is hydrogen, halogen, methyl or cyano; R 3 and R 4 are each independently hydrogen, halogen or methyl; R 5 and R 6 are each independently selected from hydrogen, halogen, C 1 -C 5 alkoxy, C 1 -C 5 alkyl, C 3 -C 5 cycloalkyl, C 2 -C 5 alkenyl or C 2 -C 5 alkynyl, wherein the alkyl, cycloalkyl, alkenyl and alkynyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; or R 5 and R 6 together with the carbon atom to which they are attached represent C 3 -C 6 cycloalkyl or C 4 -C 6 cycloalkenyl, wherein the cycloalkyl and cycloalkenyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; R 7 is hydrogen, C 1 -C 4 alkyl, C 1 -C 4 haloalkyl or C 3 -C 4 cycloalkyl, wherein the alkyl and cycloalkyl, may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; R 8 and R 9 are each independently selected from hydrogen, halogen, C 1 -C 4 alkyl and C 1 -C 4 alkoxy; or R 8 and R 9 together with the carbon atom to which they are attached represent =O, =NOR a, C 3 -C 5 cycloalkyl, wherein the cycloalkyl may be optionally substituted with 1 to 3 substituents independently selected from halogen, cyano, C 1 -C 3 alkyl, C 1 -C 3 alkoxy and C 1 -C 3 alkylthio; each R 10 independently represents halogen, nitro, cyano, formyl, C 1 -C 5 alkyl, C 2 -C 5 alkenyl, C 2 -C 5 alkynyl, C 3 -C 6 cycloalkyl, C 1 -C 5 alkoxy, C 3 -C 5 alkenyloxy, C 3 -C 5 alkynyloxy, C 1 -C 5 alkylthio, -C(=NOR b)C 1 -C 5 alkyl, or C 1 -C 5 alkylcarbonyl, wherein the alkyl, cycloalkyl, alkenyl, alkynyl, alkoxy, alkenyloxy, alkynyloxy and alkylthio may be optionally substituted with 1 to 5 substituents independently selected from halogen, C 1 -C 3 alkyl, C 1 -C 3 alkoxy, cyano and C 1 -C 3 alkylthio; n is 0, 1, 2 or 3; R a is independently selected from hydrogen, C 1 -C 4 alkyl, C 2 -C 4 alkenyl, C 3 -C 4 alkynyl, C 3 -C 4 cycloalkyl(C 1 -C 2)alkyl and C 3 -C 4 cycloalkyl, wherein the alkyl, cycloalkyl, alkenyl and alkynyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen and cyano; and R b is independently selected from hydrogen, C 1 -C 4 alkyl, C 2 -C 4 alkenyl, C 3 -C 4 alkynyl, C 3 -C 4 cycloalkyl(C 1 -C 2)alkyl and C 3 -C 4 cycloalkyl, wherein the alkyl, cycloalkyl, alkenyl and alkynyl groups may be optionally substituted with 1 to 3 substituents independently selected from halogen and cyano; or a salt, enantiomer or N-oxide thereof.