A compound that is of formula: or is a pharmaceutically acceptable salt thereof, wherein R 1 is a member selected from the group consisting of hydrogen, C 1-8 alkyl, C 1-8 haloalkyl, C 1-8 hydroxyalkyl, C 3-8 cycloalkyl, halogen, -CN, -SO 2 Me and -C NH 2; each R 2 is a member selected from the group consisting of C 1-8 alkyl, C 1-8 haloalkyl, halogen, -CN and C 1-8 alkoxy; or two R 2 groups attached to adjacent carbon atoms are optionally connected to form a 5- or 6-member ring which is optionally substituted with additional R 2 groups; R 3 is a member selected from the group consisting of hydrogen, methyl and C 1-4 haloalkyl; R 4 is a member selected from the group consisting of hydrogen, C 1-8 alkyl, C 1-8 haloalkyl and C 1-8 hydroxyalkyl; each of the subscripts n is independently an integer from 0 to 3; B is a bond or C; Q is a member selected from the group consisting of C, CH, N, O, S, S and SO 2; W, X, Y, and Z are independently selected from the group consisting of C, CH and N, but Q and W are not both N; R 5 and R 6 are absent or are members independently selected from the group consisting of H, -OH, C 1-8 alkyl, C 1-8 hydroxyalkyl, C 1-4 alkoxy-C 1-4 alkyl, -C NR a R b, C 1-8 alkylene-C NR a R b, -NH-C 1-4 alkylene-C NR a R b, -C -C 1-4 alkylene-NR a R b, -CO 2 H and acid isosteres, C 1-8 alkylene-CO 2 H and acid isosteres, -N(R a)C NR a R b, C 1-8 alkylene N(R a)C NR a R b, -NR a R b, C 1-8 alkylene-NR a R b, C 1-8 alkoxy, -C OR a, C 1-8 alkylene-C OR a, -CN, -C R a, -SO 2 R a and -N(R a)C R b; wherein each R a and R b are independently selected from the group consisting of hydrogen, C 1-8 alkyl, C 1-8 hydroxyalkyl, C 1-8 haloalkyl, and C 1-8 alkoxy; and R 7 is absent or is selected from the group consisting of H, C 1-8 alkyl and C 1-8 haloalkyl. R 1 is a member selected from the group consisting of hydrogen, C 1-8 alkyl, C 1-8 haloalkyl, C 1-8 hydroxyalkyl, C 3-8 cycloalkyl, halogen, -CN, -SO 2 Me and -C NH 2; each R 2 is a member selected from the group consisting of C 1-8 alkyl, C 1-8 haloalkyl, halogen, -CN and C 1-8 alkoxy; or two R 2 groups attached to adjacent carbon atoms are optionally connected to form a 5- or 6-member ring which is optionally substituted with additional R 2 groups; R 3 is a member selected from the group consisting of hydrogen, methyl and C 1-4 haloalkyl; R 4 is a member selected from the group consisting of hydrogen, C 1-8 alkyl, C 1-8 haloalkyl and C 1-8 hydroxyalkyl; each of the subscripts n is independently an integer from 0 to 3; B is a bond or C; Q is a member selected from the group consisting of C, CH, N, O, S, S and SO 2; W, X, Y, and Z are independently selected from the group consisting of C, CH and N, but Q and W are not both N; R 5 and R 6 are absent or are members independently selected from the group consisting of H, -OH, C 1-8 alkyl, C 1-8 hydroxyalkyl, C 1-4 alkoxy-C 1-4 alkyl, -C NR a R b, C 1-8 alkylene-C NR a R b, -NH-C 1-4 alkylene-C NR a R b, -C -C 1-4 alkylene-NR a R b, -CO 2 H and acid isosteres, C 1-8 alkylene-CO 2 H and acid isosteres, -N(R a)C NR a R b, C 1-8 alkylene N(R a)C NR a R b, -NR a R b, C 1-8 alkylene-NR a R b, C 1-8 alkoxy, -C OR a, C 1-8 alkylene-C OR a, -CN, -C R a, -SO 2 R a and -N(R a)C R b; wherein each R a and R b are independently selected from the group consisting of hydrogen, C 1-8 alkyl, C 1-8 hydroxyalkyl, C 1-8 haloalkyl, and C 1-8 alkoxy; and R 7 is absent or is selected from the group consisting of H, C 1-8 alkyl and C 1-8 haloalkyl.