FIELD: chemistry.SUBSTANCE: invention relates to novel compounds of formula (II) or (II) or pharmaceutically acceptable salts thereof. Compounds inhibit activity of protein kinase CK2 (casein kinase II) or PIM kinase and can be used for treating proliferative diseases selected from cancer of various cell lines, such as breast cancer, lung, skin cancer etc, angiogenesis, as well as other kinase related conditions, including inflammation, vascular diseases, pathogenic infections, neurodegenerative diseases, some immunological diseases. In compounds of formula (II) or (II)orZ3 denotes N and Z4 denotes CR5 or Z3 denotes CR5 and Z4 denotes N or Z3 and Z4 both denote N each R5 is independently selected from halo, -CN and -R, where each R is independently selected from H and optionally substituted C1-C4 alkyl each R2, R3 and R4 is independently selected from H and optionally substituted C1-C10 alkyl X denotes S or NR2 Y is O or S Z is O or S L is a bond, -CR7=CR8-, -C≡C- or -(CR7R8)m-, and W is optionally substituted C1-C10alkyl, optionally substituted with 1-10-member heteroalkyl, optionally substituted C6-C12aryl, Optionally substituted 5-12-member heteroaryl, -NR7R8, -OR7, -S(O)nR7, -CONR7R8, optionally substituted 3-10-member heterocyclyl, optionally substituted with C3-C10carbocyclyl, optionally substituted C2-C10alkenyl, optionally substituted C2-C10alkynyl or -CR7R8R9 or L is a bond, -NR7-, -O-, -S(O)n-, -(CR7R8)m- or -(CR7R8)m-NR7- and W is selected from optionally substituted C6-C12aryl, optionally substituted 5-12-member heteroaryl and -NR7R8 where each R7 and R8 and R9 is independently selected from H, optionally substituted C1-C10alkyl, optionally substituted 1-10-member heteroalkyl, optionally substituted C3-C10carbocyclyl, optionally substituted 3-10-member heterocyclyl, optionally substituted C3-C10carbocyclylalkyl, optionally substituted 3-10-member heterocyclylC1-C8-alkyl, optionally substituted C6-C12aryl, optionally substituted C7-C12arylalkyl, optionall