A compound having the Formula IV or V: or or a pharmaceutically acceptable salt thereof, wherein A is CH or N; Y is CH Cy 1 is phenyl or pyridyl, each substituted with 1 to 3 groups independently selected from R 5, wherein at least one R 5 is -SO 2 -(C 1 -C 3)alkyl Cy 2 is selected from phenyl, pyridinyl, piperidinyl, cyclohexyl, tetrahydropyranyl, cyclopropyl, and cyclobutyl, each optionally substituted with 1 to 3 groups independently selected from R 6 R 2 is (C 1 -C 4)alkyl, (C 2 -C 4)alkenyl, (C 1 -C 4)haloalkyl, or monocyclic cycloalkyl; R 5 and R 6 are each independently selected from halogen, -CN, -OR c, -NR d R e, - S k R c, -NR c S 2 R c, -S 2 NR d R e, -C(=O)OR c, -OC(=O)OR c, -OC(=O)R c, -OC(=S)OR c, -C(=S)OR c, -OC(=S)R c, -C(=O)NR d R e, -NR c C(=O)R c, -C(=S)NR d R e, -NR c C(=S)R c, - NR c C(=O)OR c, -OC(=O)NR d R e, -NR c (C=S)OR c, -OC(=S)NR d R e, -NR c C(=O)NR d R e, - NR c (C=S)NR d R e, -C(=S)R c, -C(=O)R c, (C 1 -C 6)alkyl, cycloalkyl, -(CH 2) 1-4 -cycloalkyl, heterocyclyl, -(CH 2) 1-4 -heterocyclyl, aryl, -NHC(=O)-heterocyclyl, -NHC(=O)-cycloalkyl, - (CH 2) 1-4 -aryl, heteroaryl and -(CH 2) 1-4 -heteroaryl, wherein the alkyl, cycloalkyl, heterocyclyl, aryl or heteroaryl portion present in each of said (C 1 -C 6)alkyl, cycloalkyl, -(CH 2) 1-4 -cycloalkyl, heterocyclyl, -(CH 2) 1-4 -heterocyclyl, aryl, -(CH 2) 1-4 -aryl, heteroaryl and -(CH 2) 1-4 -heteroaryl substituent for R 6 are further optionally substituted with halogen, OR c, -NO 2, -CN, -NR c C(=O)R c, -NR d R e, - S k R c, -C(=O)OR c, -C(=O)NR d R e, -C(=O)R c, (C 1 -C 3)alkyl, halo(C 1 -C 3)alkyl, (C 1 -C 3)alkoxy(C 1 -C 3)alkyl, (C 1 -C 3)alkoxy, or halo(C 1 -C 3)alkoxy; each R c is independently selected from hydrogen and (C 1 -C 6)alkyl optionally substituted with 1 to 3 halogen; each R d and R e is independently selected from hydrogen and (C 1 -C 6)alkyl; k is 0, 1 or 2; any heterocyclyl or heteroaryl portion of Cy 1 or Cy 2 is further optionally substituted with =O; and R 7 is hydrogen, (C 1 -C 2)alkyl, hydroxy(C 1 -C 3)alkyl, -(C 1 -C 3)alkylNH 2, -(C 1 -C 3)alkyl-N-di(C 1 -C 3)alkyl, or -(C 1 -C 3)alkoxy-C -NH 2, provided that: when A is N, Y is CH, R 2 is methyl, Cy 1 is phenyl and the compound is of formula IV, then Cy 2 is not phenyl substituted with CN. A is CH or N; Y is CH Cy 1 is phenyl or pyridyl, each substituted with 1 to 3 groups independently selected from R 5, wherein at least one R 5 is -SO 2 -(C 1 -C 3)alkyl Cy 2 is selected from phenyl, pyridinyl, piperidinyl, cyclohexyl, tetrahydropyranyl, cyclopropyl, and cyclobutyl, each optionally substituted with 1 to 3 groups independently selected from R 6 R 2 is (C 1 -C 4)alkyl, (C 2 -C 4)alkenyl, (C 1 -C 4)haloalkyl, or monocyclic cycloalkyl; R 5 and R 6 are each independently selected from halogen, -CN, -OR c, -NR d R e, - S k R c, -NR c S 2 R c, -S 2 NR d R e, -C(=O)OR c, -OC(=O)OR c, -OC(=O)R c, -OC(=S)OR c, -C(=S)OR c, -OC(=S)R c, -C(=O)NR d R e, -NR c C(=O)R c, -C(=S)NR d R e, -NR c C(=S)R c, - NR c C(=O)OR c, -OC(=O)NR d R e, -NR c (C=S)OR c, -OC(=S)NR d R e, -NR c C(=O)NR d R e, - NR c (C=S)NR d R e, -C(=S)R c, -C(=O)R c, (C 1 -C 6)alkyl, cycloalkyl, -(CH 2) 1-4 -cycloalkyl, heterocyclyl, -(CH 2) 1-4 -heterocyclyl, aryl, -NHC(=O)-heterocyclyl, -NHC(=O)-cycloalkyl, - (CH 2) 1-4 -aryl, heteroaryl and -(CH 2) 1-4 -heteroaryl, wherein the alkyl, cycloalkyl, heterocyclyl, aryl or heteroaryl portion present in each of said (C 1 -C 6)alkyl, cycloalkyl, -(CH 2) 1-4 -cycloalkyl, heterocyclyl, -(CH 2) 1-4 -heterocyclyl, aryl, -(CH 2) 1-4 -aryl, heteroaryl and -(CH 2) 1-4 -heteroaryl substituent for R 6 are further optionally substituted with halogen, OR c, -NO 2, -CN, -NR c C(=O)R c, -NR d R e, - S k R c, -C(=O)OR c, -C(=O)NR d R e, -C(=O)R c, (C 1 -C 3)alkyl, halo(C 1 -C 3)alkyl, (C 1 -C 3)alkoxy(C 1 -C 3)alkyl, (C 1 -C 3)alkoxy, or halo(C 1 -C 3)alkoxy; each R c is independently selected from hydrogen and (C 1 -C 6)alkyl optionally substituted with 1 to 3 halogen; each R d and R e is independently selected from hydrogen and (C 1 -C 6)alkyl; k is 0, 1 or 2; any heterocyclyl or heteroaryl portion of Cy 1 or Cy 2 is further optionally substituted with =O; and R 7 is hydrogen, (C 1 -C 2)alkyl, hydroxy(C 1 -C 3)alkyl, -(C 1 -C 3)alkylNH 2, -(C 1 -C 3)alkyl-N-di(C 1 -C 3)alkyl, or -(C 1 -C 3)alkoxy-C -NH 2, provided that: when A is N, Y is CH, R 2 is methyl, Cy 1 is phenyl and the compound is of formula IV, then Cy 2 is not phenyl substituted with CN.