Patent ID: 8497368

Claim:
A compound of formula (I) wherein Y is N; X is CH; B is N; A is a ring; such that when X is CH and B is N, ring A is ring Ai or ring Aii; R 1 is a group i: wherein R 5 is heteroaryl 1 , heteroaryl 1 is a 9- or 10-membered, unsaturated or partially unsaturated bicyclic group comprising 1, 2, 3 or 4 ring heteroatoms independently selected from N, O and S, wherein the total number of ring S atoms does not exceed 1, and the total number of ring O atoms does not exceed 1, wherein heteroaryl 1 is optionally substituted by one or more substituents independently selected from halo, OH, and (C 1 -C 3 )alkyl, said (C 1 -C 3 )alkyl being optionally substituted by one or more substituents independently selected from OH and halo; R 6 is hydrogen, OH, methyl or halo; R 7 is hydrogen, halo, or (C 1 -C 3 )alkyl, wherein said (C 1 -C 3 )alkyl is optionally substituted by one or more substituents independently selected from OH and halo; or R 6 and R 7 , together with the carbon to which they are attached form cyclopropyl, wherein said cyclopropyl is optionally substituted by methyl; R 2 is hydrogen, NH 2 , or (C 1 -C 4 )alkyl, wherein said (C 1 -C 4 )alkyl is optionally substituted by one or more substituents independently selected from OH, NH 2 and halo; R 3 is hydrogen, —CONH 2 , —CONH(C 1 -C 4 )alkyl, —CONHphenyl, wherein the phenyl of said CONHphenyl is optionally substituted by one or more halo, —(C 1 -C 4 )alkyl, —CO(C 1 -C 4 )alkyl, —CO 2 (C 1 -C 4 )alkyl, phenyl, heteroaryl 2 , —COheteroaryl 2 , —CSNH 2 , —CSNH(C 1 -C 4 )alkyl, —CSNHbenzyl, —SO 2 (C 1 -C 4 )alkyl or —COCH 2 heterocyclyl 1 , said heterocyclyl 1 being optionally substituted by (C 1 -C 3 )alkyl; heteroaryl 2 is a 5- to 10-membered unsaturated or partially unsaturated monocyclic or bicyclic group comprising 1, 2, 3 or 4 ring heteroatoms independently selected from N, O and S, wherein the total number of ring S atoms does not exceed 1, and the total number of ring O atoms does not exceed 1, wherein heteroaryl 2 is optionally substituted by one or more substituents independently selected from halo, OH, and (C 1 -C 3 )alkyl, said (C 1 -C 3 )alkyl being optionally substituted by one or more substituents independently selected from OH and halo; heterocyclyl 1 means a 5 or 6 membered saturated or partially unsaturated monocyclic group comprising 1 or 2 ring heteroatoms independently selected from N, O and S; R 4 is hydrogen or (C 1 -C 3 )alkyl; or R 3 and R 4 together with the nitrogen to which they are attached form a 5 or 6 membered saturated or partially unsaturated monocyclic group comprising 1 ring N atom to which R 3 and R 4 are attached and optionally 1 additional ring heteroatom independently selected from N, O and S, wherein said monocyclic group is substituted by one or two ═O substituents; or a pharmaceutically acceptable salt thereof.