Compounds having the formula (I), ##STR00001## and
pharmaceutically-acceptable salts, hydrates, or prodrugs thereof, are
useful as serine protease inhibitors, wherein X is --OH, --O(alkyl),
--O(aryl), --O(arylalkyl), --NR.sub.5(aryl), or --NR.sub.5(arylalkyl); W
is hydrogen or --(CR.sub.7R.sub.8).sub.q--W.sub.1; W.sub.1 is hydrogen or
a bond with R.sub.6; Z is a 5-membered heteroaryl group, a five to six
membered heterocyclo or cycloalkyl group, a 9 to 10 membered bicyclic
aryl or heteroaryl, or a six membered aryl or heteroaryl, and R.sub.1,
R.sub.2, R.sub.3, R.sub.5, R.sub.6, R.sub.7, and R.sub.16 are as defined
in the specification.