1414224The invention relates to new triazines (G = Q = U are N) pyrimidines (two out of G Q and U are N) and pyridopyrimidines (one of G and U together with R2 forms an anullated pyridine ring) of formula (I) carrying a spirocyclic substituent wherein E is CR or N X is CHR CHCH NR NR40 or O and the other substituents are as defined in the specification. The compounds inhibit phosphoinositide 3 kinase (PI3K) mammalian target of rapamycin (mTOR) DNA PK and ATM kinase and may be used as therapeutic agents or diagnostic probes. The invention also relates to methods of using the compounds for treatment of associated pathological conditions.