Compounds of formula I: or pharmaceutically acceptable salts thereof, wherein Ar is indolyl, indazolyl or dihydroindolyl, and R1, R2, R3 and R4 are as defined herein. Also provided are pharmaceutical compositions, methods of using the compounds in the treatment of depressive, anxiolytic and other disorders associated with inhibition of the reuptake of norepinephrine, serotonin, and dopamine, and methods of preparing the compounds.