The present invention relates to new compounds of formula (I) wherein Z,
Y, X, P, Q, R, R.sup.1, R.sup.2, R.sup.3, R.sup.4, R.sup.5, R.sup.6,
R.sup.7, R.sup.8, R.sup.9, R.sup.10, R.sup.11, R.sup.12, A, m and n are
defined as in any one of claims 1 to 3, a process for their preparation
and new intermediates prepared therein, pharmaceutical formulations
containing said therapeutically active compounds and to the use of said
active compounds for the treatment of conditions associated with
glycogens synthase kinase-3 (GSK3).