The invention provides a novel class of compounds, pharmaceutical compositionscomprising such compounds and methods of using such compounds to treat orprevent diseasesor disorders associated with abnormal or deregulated kinase activity,particularly diseases ordisorders that involve abnormal activation of the BCR-Abl kinase. Compounds ofthisinvention are of formula I.(see formula I)