The present invention is directed to compounds having the formula (I):
##STR1##
useful in treating inflammatory and immune diseases, in which K is O or S;
Q is —C(O)— or optionally substituted C1-4alkylene;
Ar is optionally-substituted aryl or heteroaryl; J1, J2,
J3, and Y are selected so that ring A is a five-to-six membered optionally-substituted
cycloalkenyl or heterocyclo ring having 0 to 2 nitrogen heteroatoms; Z is N or
C(R9); and R1, R2, R3 and R9 are
as defined in the specification.