The present invention relates to compounds of formula Iwherein R1, R2, R3, Ar and n are as defined herein and pharmaceutically active salts, racemic mixtures, enantiomers, optical isomers or tautomeric forms thereof. The compounds can be used for the treatment of depression, anxiety or schizophrenia.