The invention provides a compound of the formula (I): or a salt, solvate, tautomer or N-oxide thereof, wherein M is selected from a group D1 and a group D2: and R 1 , E, A and X are as defined above. Also provided are pharmaceutical compositions containing the compounds, processes for making the compounds and the use of the compounds in the prophylaxis or treatment of a disease state mediated by a CDK kinase, GSK-3 kinase or Aurora kinase.