The present invention relates to the use of a compound of general formula (I) wherein R1/R2 are independently from each other hydrogen, lower alkyl, -CH2)o-cycloalkyl for o being 0 or 1, or are benzyl or heterocycloalkyl or R1 and R2 are together with the N-atom to which they are attached a ring containing -(CH2)3-, -(CH2)4-, -(CH2)5-, -(CH2)2-O-(CH2)2-, -(CH2)2-S-(CH2)2-, -(CH2)2-NR-(CH2)2-, -(CH2)2-C(O)-(CH2)2-, -(CH2)2-CF2-(CH2)2-, -CH2-CHR-(CH2)2, -CHR-(CH2)3, CHR-(CH2)2-CHR-, or is the ring 2,6-diaza-spiro[3.3]heptane-2-carboxylic acid tert-butyl ester and R is hydroxy, halogen, cycloalkyl, or C(O)O-lower alkyl X is -(CH2)4-, -(CH2)3-, -(CH2)2- or -CH2- R3 is S-lower alkyl, CF3, OCHF2, lower alkoxy, lower alkyl, phenyl, cycloalkyl or halogen R4 is CF3, lower alkoxy, lower alkyl, halogen and n is 1 or 2 or to a pharmaceutically acceptable acid addition salt, to a racemic mixture, or to its corresponding enantiomers and/or optical isomers thereof for the manufacture of a medicament for the treatment of psychoses, pain, dysfunction in memory and learning, attention deficit, schizophrenia, dementia disorders or Alzheimers disease.