The present invention relates to compounds of formula (I) or pharmaceutical acceptable salts,
wherein R
1
, R
2
, R
3
, R
4
, and B 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.