A compound of formula wherein X, Y are independently of each other, C, N or C-R; L is hydrogen, C1-C8 alkyl, C1-C8 alkyloxy, aryloxy, halogen, formyl, aryl including phe-nyl, heteroaryl including pyridyl, heterocycloalkyl, acyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl, amino C1-C8 alkyl; E is hydrogen, C1-C8 alkyl, C1-C8 alkyloxy, aryloxy, halogen, formyl, aryl including phe-nyl, heteroaryl including pyridyl, heterocycloalkyl, acyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl, amino C1-C8 alkyl; A is independently of each other, halogen, hydroxyl, amino, monoalkylamino, dialkyl-amino, sulfanyl, sulfinyl, sulfonyl, aminosulfonyl, carboxyl, C1-C8 alkyloxyl, aryloxy, nitro, cyano, C1-C8 alkyl, amino C1-C8 alkyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl in-cluding trifluoromethyl, C1-C8 alkyloxy including trifluoromethoxy, carbonylamino, ami-nocarbonyl, acyl, formyl, aryl including phenyl, heteroaryl including pyridyl, heterocy-cloalkyl; M is independently of each other, halogen, hydroxyl, amino, monoalkylamino, dialkyl-amino, sulfanyl, sulfinyl, sulfonyl, aminosufonyl, carboxyl, C1-C8 alkyloxyl, aryloxy, ni-tro, cyano, C1-C8 alkyl, amino C1-C8 alkyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl includ-ing trifluoromethyl, halo C1-C8 alkyloxy including trifluoromethoxy, carbonylamino, aminocarbonyl, acyl, formyl, aryl including phenyl, heteroaryl including pyridyl, hetero-cycloalkyl; R is hydrogen, Z or Q; Z is C1-C8 alkyl, hydroxy C1-C8 alkyl, methoxy C1-C8 alkyl, halo C1-C8 alkyl, amino C1-C8 alkyl, acyl, sulfinyl C1-C8 alkyl, sulfonyl C1-C8 alkyl; Q is aryl preferably phenyl, or heteroaryl or heterocycloalkyl, which may be substituted by a substituent as listed for Z; n is 0 or is an integer of 1, 2, or 3, p is 0 or is an integer of 1, 2, or 3, or a salt or solvate thereof. wherein X, Y are independently of each other, C, N or C-R; L is hydrogen, C1-C8 alkyl, C1-C8 alkyloxy, aryloxy, halogen, formyl, aryl including phe-nyl, heteroaryl including pyridyl, heterocycloalkyl, acyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl, amino C1-C8 alkyl; E is hydrogen, C1-C8 alkyl, C1-C8 alkyloxy, aryloxy, halogen, formyl, aryl including phe-nyl, heteroaryl including pyridyl, heterocycloalkyl, acyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl, amino C1-C8 alkyl; A is independently of each other, halogen, hydroxyl, amino, monoalkylamino, dialkyl-amino, sulfanyl, sulfinyl, sulfonyl, aminosulfonyl, carboxyl, C1-C8 alkyloxyl, aryloxy, nitro, cyano, C1-C8 alkyl, amino C1-C8 alkyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl in-cluding trifluoromethyl, C1-C8 alkyloxy including trifluoromethoxy, carbonylamino, ami-nocarbonyl, acyl, formyl, aryl including phenyl, heteroaryl including pyridyl, heterocy-cloalkyl; M is independently of each other, halogen, hydroxyl, amino, monoalkylamino, dialkyl-amino, sulfanyl, sulfinyl, sulfonyl, aminosufonyl, carboxyl, C1-C8 alkyloxyl, aryloxy, ni-tro, cyano, C1-C8 alkyl, amino C1-C8 alkyl, hydroxy C1-C8 alkyl, halo C1-C8 alkyl includ-ing trifluoromethyl, halo C1-C8 alkyloxy including trifluoromethoxy, carbonylamino, aminocarbonyl, acyl, formyl, aryl including phenyl, heteroaryl including pyridyl, hetero-cycloalkyl; R is hydrogen, Z or Q; Z is C1-C8 alkyl, hydroxy C1-C8 alkyl, methoxy C1-C8 alkyl, halo C1-C8 alkyl, amino C1-C8 alkyl, acyl, sulfinyl C1-C8 alkyl, sulfonyl C1-C8 alkyl; Q is aryl preferably phenyl, or heteroaryl or heterocycloalkyl, which may be substituted by a substituent as listed for Z; n is 0 or is an integer of 1, 2, or 3, p is 0 or is an integer of 1, 2, or 3, or a salt or solvate thereof.