new 3 - substituted 4 -- piperazine and 4 -- piperidine compounds of formula , wherein x n , ch , or c , however x may only be c when the compound comprises a double bond at the dotted line ; r 1 is oso 2 cf 3 , oso 2 ch 3 , sor 3 , so 2 r 3 , cor 3 , no 2 , or conhr 3 and when x is ch or c r 1 may also be cf 3 , cn , f , cl , br , or i ; r 2 is a c 1 - c 4 alkyl , an allyl , ch 2 sch 3 , ch 2 ch 2 och 3 , ch 2 ch 2 ch 2 f , ch 2 cf 3 , 3 , 3 , 3 - trifluoropropyl , 4 , 4 , 4 ,- trifluorobutyl , or —— r 4 ; r 3 is a c 1 - c 3 alkyl cf 3 , or n 2 ; r 4 is a c 3 - c 6 cycloalkyl , 2 - tetrahydrofurane or 3 - tetra - hydrofurane , as well as pharmaceutically acceptable salts thereof are disclosed . also pharmaceutical compositions comprising the above compounds and methods wherein the above compounds are used for treatment of disorders in the central nervous system are disclosed