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.La presente invención se refiere al uso de un compuesto de la fórmula general I (ver fórmula (I)) en la que R1/R2 con independencia entre sí son hidrógeno, alquilo inferior, -CH2)o-cicloalquilo, en el que o es el número 0 ó 1, o son bencilo o heterocicloalquilo o R1 y R2 junto con el átomo de N al que están unidos forman un anillo que contiene -(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-,o es el anillo 2,6-diaza- espiro[3.3]heptano-2-carboxilato de tert-butilo y R es hidroxi, halógeno, cicloalquilo o C(O)O-alquilo inferior X es -(CH2)4-, -(CH2)3-, -(CH2)2- o-CH2- R3 es S alquilo inferior, CF3, OCHF2, alcoxi inferior, alquilo inferior, fenilo,