Compounds of formula (I), (IIa) or (IIb) wherein R1-R6,
Z, Q and n are as defined in claim 1 and their pharmaceutically acceptable
salts are ligands at gastrin and/or cholecystokinin receptors. Compositions comprising
a compound of formula (I), (IIa) or (IIb) are also described.
##STR1##