The present invention relates to compounds of formula I
and its salts, wherein the substituents are as defined in the description, to compositions and use of the compounds in the treatment of diseases ameloriated by inhibition of phosphatidylinositol 3-kinase.