The invention provides novel kinase inhibitors that are useful as therapeutic agents for example in the treatment malignancies where the compounds have the general formula (I): I wherein X, Y, Z, R
1
, R
2
, R
3
, R
a
, R
b
, and n are as described herein.