The present invention relates to compounds of formula 1, ##STR1## including all of its stereoisomers, compositions, and processes for preparation of the same. The compounds of the present invention are also useful in their pharmacological activities as they directly act as inhibitors of prolyl endopeptidase and thereby provide a methods for memory enhancement, preventing or slowing the affects of amnesia or memory deficits.