The present invention relates to compounds of formula I
wherein A, n, R
1a
to R
1e
and R
2
to R
5
are as defined in the description and claims, and pharmaceutically acceptable salts thereof. The compounds are glucocorticoid receptor antagonists useful for the treatment and/or prevention of diseases such as diabetes, dyslipidemia, obesity, hypertension, cardiovascular diseases, adrenal imbalance or depression.