The present invention relates to compounds of formula (I), or pharmaceuticallyacceptable salts or tautomers thereof, which are inhibitors of histonedeacetylase (HDAC). The compounds of the present invention are useful fortreating cellular proliferative diseases, including cancer. Further, thecompounds of the present invention are useful for treating neurodegenerativediseases, schizophrenia and stroke among other diseases.