Compounds of formula I: n nwherein A, D, Ar 1 , E and Ar 2 are as defined in the specification, processes for preparing them, pharmaceutical compositions containing them and their use in therapy, especially in the treatment or prophylaxis of psychotic and intellectual impairment disorders.