Compounds of formula R 1 is alkyl, haloalkyl, alkoxyalkyl, haloalkoxyalkyl, hydroxyalkyl, phenyl, substituted phenyl, phenylalkyl, substituted phenylalkyl, phenoxyalkyl, substituted phenoxyalkyl, heteroaryl, substituted heteroaryl, heteroarylalkyl or substituted heteroarylalkyl, wherein substituted phenyl, substituted phenylalkyl, substituted phenoxyalkyl, substituted heteroaryl and substituted heteroarylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, cycloalkylalkyl, halogen, haloalkyl, hydroxy, hydroxyalkyl, alkoxy, alkoxyalkyl, haloalkoxy, hydroxyhaloalkyl and alkoxyhaloalkyl; R 2 is phenyl, substituted phenyl, heteroaryl or substituted heteroaryl, wherein substituted phenyl and substituted heteroaryl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, cycloalkylalkyl, halogen, haloalkyl, hydroxy, hydroxyalkyl, alkoxy, alkoxyalkyl, haloalkoxy, hydroxyhaloalkyl and alkoxyhaloalkyl; R 3 is hydrogen, hydroxy or alkoxy, wherein in case R 3 is hydroxy or alkoxy then E is -C(R 5 R 6)-; R 4 is hydrogen, alkyl or cycloalkyl; R 5 is hydrogen, alkyl or cycloalkyl; R 6 is hydrogen, alkyl or cycloalkyl; n is 1 or 2; A is -N or -CR 3; E is a bond or -C(R 5 R 6)-; G is -O-, -NR 4 -, -CH -, -C -, -C O-, -C NR 4 -, -S 2 -, -S 2 NR 4 - or a bond; wherein in case both E and G are a bond, then R 1 is directly attached to A. or pharmaceutically acceptable salts thereof, wherein the term "alkyl" denotes a monovalent linear or branched saturated hydrocarbon group of 1 to 7 carbon atoms. the term "cycloalkyl" denotes a monovalent saturated monocyclic or bicyclic hydrocarbon group of 3 to 10 ring carbon atoms. the term "heteroaryl" denotes a monovalent aromatic heterocyclic mono- or bicyclic ring system of 5 to 12 ring atoms, comprising 1, 2, 3 or 4 heteroatoms selected from N, O and S, the remaining ring atoms being carbon. R 1 is alkyl, haloalkyl, alkoxyalkyl, haloalkoxyalkyl, hydroxyalkyl, phenyl, substituted phenyl, phenylalkyl, substituted phenylalkyl, phenoxyalkyl, substituted phenoxyalkyl, heteroaryl, substituted heteroaryl, heteroarylalkyl or substituted heteroarylalkyl, wherein substituted phenyl, substituted phenylalkyl, substituted phenoxyalkyl, substituted heteroaryl and substituted heteroarylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, cycloalkylalkyl, halogen, haloalkyl, hydroxy, hydroxyalkyl, alkoxy, alkoxyalkyl, haloalkoxy, hydroxyhaloalkyl and alkoxyhaloalkyl; R 2 is phenyl, substituted phenyl, heteroaryl or substituted heteroaryl, wherein substituted phenyl and substituted heteroaryl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, cycloalkylalkyl, halogen, haloalkyl, hydroxy, hydroxyalkyl, alkoxy, alkoxyalkyl, haloalkoxy, hydroxyhaloalkyl and alkoxyhaloalkyl; R 3 is hydrogen, hydroxy or alkoxy, wherein in case R 3 is hydroxy or alkoxy then E is -C(R 5 R 6)-; R 4 is hydrogen, alkyl or cycloalkyl; R 5 is hydrogen, alkyl or cycloalkyl; R 6 is hydrogen, alkyl or cycloalkyl; n is 1 or 2; A is -N or -CR 3; E is a bond or -C(R 5 R 6)-; G is -O-, -NR 4 -, -CH -, -C -, -C O-, -C NR 4 -, -S 2 -, -S 2 NR 4 - or a bond;