Patent ID: 8735430

Claim:
A compound of the formula (I) wherein: ring A is a 5-membered heteroaryl ring; R 1 is hydrogen, C 1-10 alkyl or C 3-10 cycloalkyl which is optionally substituted with 1-3 C 1-10 alkyl, each R 1 or it's substituent is optionally halogenated; R 2 is heterocyclyl optionally substituted with 1 to 3 substituents chosen from C 1-6 alkyl, C 3-10 cycloalkyl, C 1-6 alkoxy, C 1-6 alkylthio, C 1-6 alkylsulfonyl, C 1-6 alkoxycarbonyl, C 1-6 alkylamino, C 3-6 cycloalkylamino, C 1-6 dialkylamino, C 1-6 alkylaminocarbonyl, C 1-6 acylamino, C 1-6 dialkylaminocarbonyl, hydroxyl, halogen, cyano, nitro, oxo, heterocyclyl, aryl and heteroaryl, each substituent on R 2 where possible is optionally halogenated or substituted with 1 to 3 C 1-6 alkyl, C 1-6 acyl, C 1-6 alkyl sulfonyl, cyano, aryl, oxo or hydroxyl; R 3 and R 3 ′ are independently hydrogen or C 1-6 alkyl optionally halogenated with the proviso that R 3 and R 3 ′ cannot simultaneously be hydrogen; R 4 is hydrogen or methyl; R 5 is chosen from m is 0, 1, 2 or 3; R 6 is hydrogen, C 1-4 alkyl or C 1-4 alkoxy; R 7 and R 8 are each independently hydrogen, or C 1-4 alkyl with the proviso that both R 7 and R 8 cannot be hydrogen; and wherein R 7 and R 8 optionally can cyclize to form a C 3-7 cycloalkyl ring; R 9 is C 1-6 alkyl or aryl; ring B is a 5-6 membered heterocyclic ring; n is 0, 1 or 2; wherein any carbon atom on the formula (I) or any R substituent listed above is optionally partially or fully halogenated where possible; or a pharmaceutically acceptable salt thereof.