A compound of Formula or Formula: wherein R 1 is selected from the group consisting of: C 1 -C 6 alkyl, -NHSO 2 Me, -NHSO 2 Ph, phenyl C 1 -C 6 alkoxy, C 3 -C 7 cycloalkyl, -NHC R a, 1-methyl-1H-pyrazol-4-yl, hydroxyl, C 1 -C 4 alkoxy, halogen, -NR'R''and -C OR a; wherein each R' and R" is independently selected from a group including hydrogen, unsubstituted C 1 -C 6 alkyl, -C R d, and unsubstituted C 3 -C 7 cycloalkyl; wherein R d is unsubstituted C 1 -C 6 alkyl, unsubstituted C 3 -C 7 cycloalkyl, or unsubstituted heterocyclyl selected from the group consisting of tetrahydrofuranyl, pyranyl, 1,4-dioxanyl, 1,3-dioxanyl, piperidinyl, pyrrolidinyl, morpholinyl, azetidinyl, piperazinyl, pyrrolidinonyl, piperazinonyl, and pyrazolidinyl; R 3 is selected from the group consisting of: phenyl, phenyl C 1 -C 6 alkyl, heteoaryl, heteroarylC 1 -C 6 alkyl; wherein heteroaryl is selected from the group consisting of benzofuran, benzothiophene, furan, imidazole, indole, isothiazole, oxazole, pyrazine, pyrazole, pyridazine, pyridine, pyrimidine, pyrrole, quinoline, quinazoline, quinoxaline, thiazole, hydroxy-1,3-dihydrobenzo[c][1,2]oxaborole, and thiophene; wherein said phenyl and heteroaryl groups are each substituted with 1 to 3 groups selected from the group consisting of: -COOH, C 1 -C 4 alkoxy, - C OC 1 -C 4 alkyl, C 1 -C 4 alkyl, halogen, CN, tetrazolyl, -NHSO 2 Me, -SO 2 Me, -C NH(CH 2)OH, -C NHSO 2 Me, and -OCH 2 COOH; each R a is independently hydrogen, phenyl, phenylmethyl, 3,5-dimethylisoxazol-4-yl, 1,2-dimethyl-1H-imidazol-4-yl, C 3 -C 7 cycloalkyl, C 1 -C 6 alkyl, C 1 -C 4 alkoxy, C 1 -C 3 alkylamino, or -NHPh; R 4 is H; W is -(CH 2) 1-4, or -CH(R c)(CH 2) 0-3, in which R c is CN or C 1 -C 4 alkyl; X is N; Z is (CH 2) q, wherein q is 0-2, when q is 0, Z represents a bond; m is 0-3; wherein each alkyl, cycloalkyl, phenyl, or heteroaryl group within R 1, R a or R c is unsubstituted, and wherein each alkyl group within the substituents for the phenyl and heteroaryl groups within R 3 is unsubstituted; or a pharmaceutically acceptable salt thereof. R 1 is selected from the group consisting of: C 1 -C 6 alkyl, -NHSO 2 Me, -NHSO 2 Ph, phenyl C 1 -C 6 alkoxy, C 3 -C 7 cycloalkyl, -NHC R a, 1-methyl-1H-pyrazol-4-yl, hydroxyl, C 1 -C 4 alkoxy, halogen, -NR'R''and -C OR a; wherein each R' and R" is independently selected from a group including hydrogen, unsubstituted C 1 -C 6 alkyl, -C R d, and unsubstituted C 3 -C 7 cycloalkyl; wherein R d is unsubstituted C 1 -C 6 alkyl, unsubstituted C 3 -C 7 cycloalkyl, or unsubstituted heterocyclyl selected from the group consisting of tetrahydrofuranyl, pyranyl, 1,4-dioxanyl, 1,3-dioxanyl, piperidinyl, pyrrolidinyl, morpholinyl, azetidinyl, piperazinyl, pyrrolidinonyl, piperazinonyl, and pyrazolidinyl; R 3 is selected from the group consisting of: phenyl, phenyl C 1 -C 6 alkyl, heteoaryl, heteroarylC 1 -C 6 alkyl; wherein heteroaryl is selected from the group consisting of benzofuran, benzothiophene, furan, imidazole, indole, isothiazole, oxazole, pyrazine, pyrazole, pyridazine, pyridine, pyrimidine, pyrrole, quinoline, quinazoline, quinoxaline, thiazole, hydroxy-1,3-dihydrobenzo[c][1,2]oxaborole, and thiophene; wherein said phenyl and heteroaryl groups are each substituted with 1 to 3 groups selected from the group consisting of: -COOH, C 1 -C 4 alkoxy, - C OC 1 -C 4 alkyl, C 1 -C 4 alkyl, halogen, CN, tetrazolyl, -NHSO 2 Me, -SO 2 Me, -C NH(CH 2)OH, -C NHSO 2 Me, and -OCH 2 COOH; each R a is independently hydrogen, phenyl, phenylmethyl, 3,5-dimethylisoxazol-4-yl, 1,2-dimethyl-1H-imidazol-4-yl, C 3 -C 7 cycloalkyl, C 1 -C 6 alkyl, C 1 -C 4 alkoxy, C 1 -C 3 alkylamino, or -NHPh; R 4 is H; W is -(CH 2) 1-4, or -CH(R c)(CH 2) 0-3, in which R c is CN or C 1 -C 4 alkyl; X is N; Z is (CH 2) q, wherein q is 0-2, when q is 0, Z represents a bond; m is 0-3; wherein each alkyl, cycloalkyl, phenyl, or heteroaryl group within R 1, R a or R c is unsubstituted, and wherein each alkyl group within the substituents for the phenyl and heteroaryl groups within R 3 is unsubstituted;