The invention relates to compounds of formula wherein R1 is hydrogen or phenyl, optionally substitutes by halogen, CN or lower alkoxy or lower alkoxy substituted by halogen R2 is hydrogen or lower alkyl R3 is hydrogen or lower alkyl or is phenyl optionally substituted by one or more substituents, selected from halogen, cyano or lower alkoxy substituted by halogen, or is pyridinyl, optionally substituted by halogen or lower alkyl substituted by halogen, or is pyrimidinyl, optionally substituted by lower alkyl substituted by halogen, or is pyrazinyl, optionally substituted by halogen, cyano or lower alkyl substituted by halogen R4 is hydrogen, lower alkyl or phenyl Z is a bond, -CH2- or -O- or to a pharmaceutically suitable acid addition salt thereof. It has now been found that the compounds of formulas IA and IB have a good affinity to the trace amine associated receptors (TAARs), especially for TAAR1. The compounds may be used for the treatment of depression, anxiety disorders, bipolar disorder, attention deficit hyperactivity disorder (ADHD), 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.La presente invención se refiere a compuestos de la fórmula (Ver Formula) en donde: R1 es hidrógeno o fenilo opcionalmente sustituido por halógeno, CN o alcoxi inferior o alcoxi inferior sustituido por halógeno R2 es hidrógeno o alquilo inferior R3 es hidrógeno o alquilo inferior o es fenilo opcionalmente sustituido por uno o más sustituyentes seleccionados entre halógeno, ciano o a