A compound of formula, or a pharmaceutically acceptable salt thereof: wherein: L is selected from -NHC - and -C NH-; W is selected from -C NH- and -NHC -; R 1 is selected from: C 1-6 alkyl, C 3-6 cycloalkyl, aryl, and heterocyclyl; wherein the C 1-6 alkyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, and (c) -O-C 1-6 alkyl; and wherein each of the C 3-6 cycloalkyl of, aryl of, and heterocyclyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, (c) -CN, (d) -O-C 1-6 alkyl, and (e) C 1-6 alkyl optionally substituted with 1-3 substituents independently selected from halogen and -NH 2; R 2 is selected from: C 1-6 alkyl, C 3-6 cycloalkyl, aryl, -S 2 -aryl, and heterocyclyl; wherein the C 1-6 alkyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, (c) -O-C 1-6 alkyl, and (d) heterocyclyl; and wherein each of the C 3-6 cycloalkyl of, aryl of and, and heterocyclyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) - CN, (c) -O-C 1-6 alkyl, and (d) C 1-6 alkyl optionally substituted with 1-3 halogens; R 3 is selected from: H, halogen, C 1-6 alkyl, optionally substituted with -OH, and -C=N-C 1-6 alkyl; and each of R 4 and R 5 is independently selected from: H, halogen, C 1-6 alkyl, -OH, and -O-C 1-6 alkyl. L is selected from -NHC - and -C NH-; W is selected from -C NH- and -NHC -; R 1 is selected from: C 1-6 alkyl, C 3-6 cycloalkyl, aryl, and heterocyclyl; wherein the C 1-6 alkyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, and (c) -O-C 1-6 alkyl; and wherein each of the C 3-6 cycloalkyl of, aryl of, and heterocyclyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, (c) -CN, (d) -O-C 1-6 alkyl, and (e) C 1-6 alkyl optionally substituted with 1-3 substituents independently selected from halogen and -NH 2; C 1-6 alkyl, C 3-6 cycloalkyl, aryl, and heterocyclyl; wherein the C 1-6 alkyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, and (c) -O-C 1-6 alkyl; and wherein each of the C 3-6 cycloalkyl of, aryl of, and heterocyclyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, (c) -CN, (d) -O-C 1-6 alkyl, and (e) C 1-6 alkyl optionally substituted with 1-3 substituents independently selected from halogen and -NH 2; R 2 is selected from: C 1-6 alkyl, C 3-6 cycloalkyl, aryl, -S 2 -aryl, and heterocyclyl; wherein the C 1-6 alkyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, (c) -O-C 1-6 alkyl, and (d) heterocyclyl; and wherein each of the C 3-6 cycloalkyl of, aryl of and, and heterocyclyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) - CN, (c) -O-C 1-6 alkyl, and (d) C 1-6 alkyl optionally substituted with 1-3 halogens; C 1-6 alkyl, C 3-6 cycloalkyl, aryl, -S 2 -aryl, and heterocyclyl; wherein the C 1-6 alkyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) C 3-6 cycloalkyl, (c) -O-C 1-6 alkyl, and (d) heterocyclyl; and wherein each of the C 3-6 cycloalkyl of, aryl of and, and heterocyclyl of is optionally substituted with 1-3 substituents independently selected from (a) halogen, (b) - CN, (c) -O-C 1-6 alkyl, and (d) C 1-6 alkyl optionally substituted with 1-3 halogens; R 3 is selected from: H, halogen, C 1-6 alkyl, optionally substituted with -OH, and -C=N-C 1-6 alkyl; and H, halogen, C 1-6 alkyl, optionally substituted with -OH, and -C=N-C 1-6 alkyl; and each of R 4 and R 5 is independently selected from: H, halogen, C 1-6 alkyl, -OH, and -O-C 1-6 alkyl. H, halogen, C 1-6 alkyl, -OH, and -O-C 1-6 alkyl.