The present invention relates to compounds of formula (I) wherein X is CR or N; R is hydrogen, halogen or lower alkyl; L is a bond, -C(O)- or -C(O)NH-; Ar is phenyl or a five or six membered heteroaryl group, containing one or two N atoms; R1 is halogen, lower alkyl, lower alkyl substituted by halogen, lower alkoxy, lower alkoxy substituted by halogen or cycloalkyl; n is 0, 1, 2 or 3; or to a pharmaceutically suitable acid addition salt thereof, to all racemic mixtures, all their corresponding enantiomers and/or optical isomers, which may be used for the treatment of depression, anxiety disorders, bipolar disorder, attention deficit hyperactivity disorder (ADHD), stress-related disorders, psychotic disorders, schizophrenia, neurological diseases, Parkinson's disease, neurodegenerative disorders, Alzheimer's disease, epilepsy, migraine, hypertension, substance abuse, metabolic disorders, eating disorders, diabetes, diabetic complications, obesity, dyslipidemia, disorders of energy consumption and assimilation, disorders and malfunction of body temperature homeostasis, disorders of sleep and circadian rhythm, and cardiovascular disorders.