Compound of the formula (I) in which X is O or S; R 1 is hydrogen; R 2 is selected from the following substructures Q1 and Q2, in which the bond to the C=X-group is marked with a #: wherein R 21 is halogen, -CN, -SF 5 , C 1 -C 3 haloalkyl, C 1 -C 3 haloalkoxy, C 1 -C 3 haloalkylthio, C 1 -C 3 haloalkylsulfinyl, C 1 -C 3 haloalkylsulfonyl, C 1 -C 3 alkylthio, C 1 -C 3 alkylsulfinyl, C 1 -C 3 alkylsulfonyl, C 3 -C 4 cycloalkylthio, C 3 -C 4 cycloalkylsulfinyl, C 3 -C 4 cycloalkylsulfonyl, phenylsulfonyl, wherein the phenyl is optionally substituted with one to two substituent(s) selected from the group of halogen, -CN, methyl, trifluoromethyl or trifluoromethoxy; or cyclopropyl wherein the cyclopropyl is optionally substituted with one to two substituent(s) selected from the group of halogen, -CN, methyl or trifluoromethyl; R 22 is hydrogen, halogen, -CN, C 1 -C 3 haloalkyl, C 1 -C 3 haloalkoxy or C 1 -C 3 haloalkylsulfonyl; R 3 is -CN or a substituent selected from the following substructure S1, in which the bond to the pyrimidine is marked with a #: R 31 is hydrogen or C 1 -C 3 alkyl; R 32 is hydrogen, C 3 -C 6 cycloalkyl or C 1 -C 3 alkyl, wherein C 3 -C 6 cycloalkyl and C 1 -C 3 alkyl are optionally substituted with one to three substituents selected from the group of halogen, -CN, C 3 -C 6 cycloalkyl and C 1 -C 3 alkoxy; R 4 is hydrogen, C 1 -C 3 alkyl, Ci-Csalkoxy or C 3 -C 4 cycloalkyl. X is O or S; R 1 is hydrogen; R 2 is selected from the following substructures Q1 and Q2, in which the bond to the C=X-group is marked with a #: wherein R 21 is halogen, -CN, -SF 5 , C 1 -C 3 haloalkyl, C 1 -C 3 haloalkoxy, C 1 -C 3 haloalkylthio, C 1 -C 3 haloalkylsulfinyl, C 1 -C 3 haloalkylsulfonyl, C 1 -C 3 alkylthio, C 1 -C 3 alkylsulfinyl, C 1 -C 3 alkylsulfonyl, C 3 -C 4 cycloalkylthio, C 3 -C 4 cycloalkylsulfinyl, C 3 -C 4 cycloalkylsulfonyl, phenylsulfonyl, wherein the phenyl is optionally substituted with one to two substituent(s) selected from the group of halogen, -CN, methyl, trifluoromethyl or trifluoromethoxy; or cyclopropyl wherein the cyclopropyl is optionally substituted with one to two substituent(s) selected from the group of halogen, -CN, methyl or trifluoromethyl; R 22 is hydrogen, halogen, -CN, C 1 -C 3 haloalkyl, C 1 -C 3 haloalkoxy or C 1 -C 3 haloalkylsulfonyl; R 21 is halogen, -CN, -SF 5 , C 1 -C 3 haloalkyl, C 1 -C 3 haloalkoxy, C 1 -C 3 haloalkylthio, C 1 -C 3 haloalkylsulfinyl, C 1 -C 3 haloalkylsulfonyl, C 1 -C 3 alkylthio, C 1 -C 3 alkylsulfinyl, C 1 -C 3 alkylsulfonyl, C 3 -C 4 cycloalkylthio, C 3 -C 4 cycloalkylsulfinyl, C 3 -C 4 cycloalkylsulfonyl, phenylsulfonyl, wherein the phenyl is optionally substituted with one to two substituent(s) selected from the group of halogen, -CN, methyl, trifluoromethyl or trifluoromethoxy; or cyclopropyl wherein the cyclopropyl is optionally substituted with one to two substituent(s) selected from the group of halogen, -CN, methyl or trifluoromethyl; R 22 is hydrogen, halogen, -CN, C 1 -C 3 haloalkyl, C 1 -C 3 haloalkoxy or C 1 -C 3 haloalkylsulfonyl; R 3 is -CN or a substituent selected from the following substructure S1, in which the bond to the pyrimidine is marked with a #: R 31 is hydrogen or C 1 -C 3 alkyl; R 32 is hydrogen, C 3 -C 6 cycloalkyl or C 1 -C 3 alkyl, wherein C 3 -C 6 cycloalkyl and C 1 -C 3 alkyl are optionally substituted with one to three substituents selected from the group of halogen, -CN, C 3 -C 6 cycloalkyl and C 1 -C 3 alkoxy; R 31 is hydrogen or C 1 -C 3 alkyl; R 32 is hydrogen, C 3 -C 6 cycloalkyl or C 1 -C 3 alkyl, wherein C 3 -C 6 cycloalkyl and C 1 -C 3 alkyl are optionally substituted with one to three substituents selected from the group of halogen, -CN, C 3 -C 6 cycloalkyl and C 1 -C 3 alkoxy; R 4 is hydrogen, C 1 -C 3 alkyl, Ci-Csalkoxy or C 3 -C 4 cycloalkyl. <EOS>