This invention relates to compounds of formula I their use as inhibitors of the microsomal prostaglandin E2 synthase-1 (mPGES-1), pharmaceutical compositions containing them, and their use as medicaments for the treatment and/or prevention of inflammatory diseases and associated conditions. A, M, W, R1, R2, R6, R7, R8 have meanings given in the description.