The present invention relates to a method for treating a disorder selected from depression, anxiety disorders, bipolar disorder, attention deficit hyperactivity disorder, stress-related disorders, psychotic disorders such as schizophrenia, neurological diseases such as Parkinsons disease, neurodegenerative disorders such as Alzheimers disease, epilepsy, migraine, hypertension, substance abuse and metabolic disorders such as 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 which comprises administering to an individual a therapeutically effective amount of a compound of formula IwhereinR1, R2, Q, W, X, Y, m, and n are as defined in the specification, and their pharmaceutically active salts, racemic mixtures, enantiomers, optical isomers and tautomeric forms. The invention also relates to novel compounds of formula I, compositions containing them, and methods for their preparation.