The present invention relates to compounds of formula Iwherein A, n, R1ato R1eand R2to R5are 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.本發明係關於式I化合物其中A、n、R1a至R1e及R2至R5均如說明文與請求項中所定義,及其藥學上可接受之鹽。該化合物為可用於治療及/或預防疾病之類皮質糖受體拮抗劑,該疾病譬如糖尿病、脂血症障礙、肥胖、高血壓、心血管疾病、腎上腺平衡缺失或抑鬱。