Compounds of the formula wherein A is selected from CH or N; R 1 is selected from the group consisting of C 1-7 -alkyl, C 3-7 -cycloalkyl, C 3-7 -cycloalkyl-C 1-7 -alkyl, hydroxy-C 1-7 -alkyl, C 1-7 -alkxy-C 1-7 -alkyl, halogen-C 1-7 -alkyl, carbamoyl-C 1-7 -alkyl, C 1-7 -alkylcarbonylamino-C 1-7 -alkyl, phenyl-C 1-7 -alkyl, heterocyclyl-C 1-7 -alkyl wherein the heterocyclyl group is unsubstituted or substituted by oxo, heteroaryl-C 1-7 -alkyl wherein the heteroaryl group is unsubstituted or mono- or di-substituted by C 1-7 -alkyl, and phenyl which is unsubstituted or mono- or di-substituted by halogen; R 2 and R 6 independently from each other are hydrogen or halogen; R 3 and R 5 independently from each other are selected from the group consisting of hydrogen, C 1-7 -alkyl, C 1-7 -alkoxy, halogen, halogen-C 1-7 -alkyl, halogen-C 1-7 -alkoxy and cyano; R 4 is selected from the group consisting of hydrogen, C 1-7 -alkyl, C 1-7 -alkoxy, halogen, halogen-C 1-7 -alkyl, halogen-C 1-7 -alkoxy, amino, azido and cyano; R 7 is selected from the group consisting of C 1-7 -alkyl, hydroxy-C 1-7 -alkyl, C 1-7 -alkoxy-C 1-7 -alkyl, hydroxyimino-C 1-7 -alkyl, C 1-7 -alkoxyimino-C 1-7 -alkyl, C 3-7 -cycloalkyl, said cycloalkyl being unsubstituted or substituted by hydroxy, lower heterocyclyl, phenyl, said phenyl being unsubstituted or substituted by one or two groups selected from the group consisting of C 1-7 -alkyl, hydroxy, C 1-7 -alkoxy, cyano, C 1-7 -alkylaminocarbonyl and halogen, and heteroaryl, said heteroaryl being unsubstituted or substituted by one or two groups selected from the group consisting of C 1-7 -alkyl, hydroxy, C 1-7 -alkoxy, cyano, C 1-7 -alkylaminocarbonyl and halogen; and pharmaceutically acceptable salts thereof. A is selected from CH or N; R 1 is selected from the group consisting of C 1-7 -alkyl, C 3-7 -cycloalkyl, C 3-7 -cycloalkyl-C 1-7 -alkyl, hydroxy-C 1-7 -alkyl, C 1-7 -alkxy-C 1-7 -alkyl, halogen-C 1-7 -alkyl, carbamoyl-C 1-7 -alkyl, C 1-7 -alkylcarbonylamino-C 1-7 -alkyl, phenyl-C 1-7 -alkyl, heterocyclyl-C 1-7 -alkyl wherein the heterocyclyl group is unsubstituted or substituted by oxo, heteroaryl-C 1-7 -alkyl wherein the heteroaryl group is unsubstituted or mono- or di-substituted by C 1-7 -alkyl, and phenyl which is unsubstituted or mono- or di-substituted by halogen; R 2 and R 6 independently from each other are hydrogen or halogen; R 3 and R 5 independently from each other are selected from the group consisting of hydrogen, C 1-7 -alkyl, C 1-7 -alkoxy, halogen, halogen-C 1-7 -alkyl, halogen-C 1-7 -alkoxy and cyano; R 4 is selected from the group consisting of hydrogen, C 1-7 -alkyl, C 1-7 -alkoxy, halogen, halogen-C 1-7 -alkyl, halogen-C 1-7 -alkoxy, amino, azido and cyano; R 7 is selected from the group consisting of C 1-7 -alkyl, hydroxy-C 1-7 -alkyl, C 1-7 -alkoxy-C 1-7 -alkyl, hydroxyimino-C 1-7 -alkyl, C 1-7 -alkoxyimino-C 1-7 -alkyl, C 3-7 -cycloalkyl, said cycloalkyl being unsubstituted or substituted by hydroxy, lower heterocyclyl, phenyl, said phenyl being unsubstituted or substituted by one or two groups selected from the group consisting of C 1-7 -alkyl, hydroxy, C 1-7 -alkoxy, cyano, C 1-7 -alkylaminocarbonyl and halogen, and heteroaryl, said heteroaryl being unsubstituted or substituted by one or two groups selected from the group consisting of C 1-7 -alkyl, hydroxy, C 1-7 -alkoxy, cyano, C 1-7 -alkylaminocarbonyl and halogen;