Compounds of formula (I) or (II)wherein Rx, Rz, R9, R10, R14, R14′, R15, R15′, A and B are as defined in the claims and pharmaceutically acceptable salts and esters thereof, are disclosed. The compounds possess utility as tissue-selective androgen receptor modulators (SARM) and are useful as medicaments in the treatment of prostate cancer and other AR dependent conditions and diseases where AR antagonism is desired.