The invention relates to benzimidazole and imidazopyridine derivatives, to their use in medicine, to compositions containing them, to processes for their preparation and to intermediates used in such processes. More particularly the invention relates to new NaV1.8 modulators of formula (I) or pharmaceutically acceptable salts thereof, wherein R1, R2, R3, R4, R5, R6, R7. X and Y are as defined in the description. NaV1.8 modulators are potentially useful in the treatment of a wide range of disorders, particularly pain.本發明關於苯並咪唑及咪唑並吡啶衍生物,彼等之醫藥用途,含彼等之組成物,彼等之製法及用於該等製法之中間體。本發明尤其關於式(I)之新穎NaV1.8調節劑或其藥學上可接受之鹽,其中R1、R2、R3、R4、R5、R6、R7、X及Y乃如同本說明書所定義者。NaV1.8調節劑潛在可用於治療廣範圍之病症,尤其是疼痛。