the present invention provides compounds of formula i : where r 1 is h , conh 2 , t — r , or t — ar 2 , n may be zero or one , and g , xyz , and q are as described below . these compounds are inhibitors of protein kinase , particularly inhibitors of jnk , a mammalian protein kinase involved cell proliferation , cell death and response to extracellular stimuli . the invention also relates to methods for producing these inhibitors . the invention also provides pharmaceutical compositions comprising the inhibitors of the invention and methods of utilizing those compositions in the treatment and prevention of various disorders .