The present invention relates to compounds of formula (I) or pharmaceutical acceptable salts,
wherein X, Y, Z, R
3
and R
4
are defined in the description. The present invention relates also to compositions containing said compounds which are useful for inhibiting kinases such as wee-1 and methods of treating diseases such as cancer.