The invention provides compounds of formula (I) wherein R1, R3, L1, L2, G1, G2, A and m are as defined in the specification and optical isomers, racemates and tautomers thereof, and pharmaceutically acceptable salts thereof; together with processes for their preparation, pharmaceutical compositions containing them and their use in therapy. The compounds are inhibitors of microsomal prostaglandin E synthase-1.Jedinjenje formule (I) ili njegova farmaceutski prihvatljiva so:A je fenil ili piridinil;R1 predstavlja do dva supstituenta nezavisno odabrana od halogena, C(1-3)alkoksi, C(1-3)fluoroalkila, cijano, fenil, C(1-3)fluoroalkoksi, C(1-6)alkil i C(3-6)cikloalkila;R2 je vodonik, halogen ili C(1-4)alkil;B je 7 člani zasićen prsten odabran od slededećih:R3 je vodonik ili (CH2)1-4CO2H;R4 je vodonik;Prijava sadrži još 10 patentnih zahteva.