Compounds of formula (I) wherein W is -OH or -NHOH; X is an optionally substituted heterocycle, NR1SO2R2, heterocyclylalkythio, CONR2R3 or NR1COR2; Y, Z, R1-R3 and n are as defined in the application. Compounds (I) are inhibitors of matrix-degrading metalloproteinases and are use for the treatment of related conditions.