Compounds of formula wherein R 1 is substituted phenyl, wherein substituted phenyl is substituted with one to three substituents independently selected from alkyl, cycloalkyl, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxylakoxy, and haloalkoxy and, wherein substituted phenyl is optionally further substituted with one to two substituents independently selected from halogen; R 2 is hydrogen, alkyl, cycloalkyl, phenyl, phenylalkyl, substituted phenyl or substituted phenylalkyl, wherein substituted phenyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; R 3 is -C R 5 R 6 or -C NR 7 R 8; R 4 is phenyl, phenylcarbonyl, phenylalkyl, substituted phenyl, substituted phenylcarbonyl or substituted phenylalkyl, wherein substituted phenyl, substituted phenylcarbonyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; one of R 5 and R 6 is hydrogen, alkyl or cycloalkyl and the other one is aminocarbonyl, phenyl, phenylalkyl, substituted phenyl or substituted phenylalkyl, wherein substituted phenyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; one of R 7 and R 8 is hydrogen, alkyl, cycloalkyl, hydroxyalkyl or alkoxyalkyl and the other one is alkyl, cycloalkyl, hydroxyalkyl, alkoxyalkyl, phenyl, phenylalkyl, substituted phenyl or substituted phenylalkyl, wherein substituted phenyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; or R 7 and R 8 together with the nitrogen atom to which they are attached form pyrrolidinyl, piperidinyl, azepanyl, piperidazinyl, morpholinyl or thiomorpholinyl; n is zero or 1; or pharmaceutically acceptable salts thereof. R 1 is substituted phenyl, wherein substituted phenyl is substituted with one to three substituents independently selected from alkyl, cycloalkyl, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxylakoxy, and haloalkoxy and, wherein substituted phenyl is optionally further substituted with one to two substituents independently selected from halogen; R 2 is hydrogen, alkyl, cycloalkyl, phenyl, phenylalkyl, substituted phenyl or substituted phenylalkyl, wherein substituted phenyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; R 3 is -C R 5 R 6 or -C NR 7 R 8; R 4 is phenyl, phenylcarbonyl, phenylalkyl, substituted phenyl, substituted phenylcarbonyl or substituted phenylalkyl, wherein substituted phenyl, substituted phenylcarbonyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; one of R 5 and R 6 is hydrogen, alkyl or cycloalkyl and the other one is aminocarbonyl, phenyl, phenylalkyl, substituted phenyl or substituted phenylalkyl, wherein substituted phenyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; one of R 7 and R 8 is hydrogen, alkyl, cycloalkyl, hydroxyalkyl or alkoxyalkyl and the other one is alkyl, cycloalkyl, hydroxyalkyl, alkoxyalkyl, phenyl, phenylalkyl, substituted phenyl or substituted phenylalkyl, wherein substituted phenyl and substituted phenylalkyl are substituted with one to three substituents independently selected from alkyl, cycloalkyl, halogen, haloalkyl, hydroxy, alkoxy, hydroxyalkoxy, alkoxyalkoxy and haloalkoxy; or R 7 and R 8 together with the nitrogen atom to which they are attached form pyrrolidinyl, piperidinyl, azepanyl, piperidazinyl, morpholinyl or thiomorpholinyl; n is zero or 1; or pharmaceutically acceptable salts thereof.