A compound of formula, or a pharmaceutically acceptable salt thereof: wherein: each occurrence of A is independently selected from -CH= and -N=; provided that at least one A group is -N= and at least one A group is -CH=; 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, -O-C 1-6 alkyl, C 3-6 cycloalkyl, aryl, and heterocyclyl; wherein each of the C 1-6 alkyl of and is optionally substituted with 1-3 substituents independently selected from (a) halogen and (b) C 3-6 cycloalkyl; 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) -CN, (c) - O-C 1-6 alkyl, and (d) C 1-6 alkyl optionally substituted with 1-3 halogens; R 2 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 and (b) C 3-6 cycloalkyl; 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) -CN, and (c) C 1-6 alkyl optionally substituted with 1-3 halogens; R 3 is selected from H, halogen, -OH, and C 1-6 alkyl optionally substituted with -OH; and each of R 4 and R 5 is independently selected from H, halogen, and C 1-6 alkyl. each occurrence of A is independently selected from -CH= and -N=; provided that at least one A group is -N= and at least one A group is -CH=; 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, -O-C 1-6 alkyl, C 3-6 cycloalkyl, aryl, and heterocyclyl; wherein each of the C 1-6 alkyl of and is optionally substituted with 1-3 substituents independently selected from (a) halogen and (b) C 3-6 cycloalkyl; 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) -CN, (c) - O-C 1-6 alkyl, and (d) C 1-6 alkyl optionally substituted with 1-3 halogens; C 1-6 alkyl, -O-C 1-6 alkyl, C 3-6 cycloalkyl, aryl, and heterocyclyl; wherein each of the C 1-6 alkyl of and is optionally substituted with 1-3 substituents independently selected from (a) halogen and (b) C 3-6 cycloalkyl; 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) -CN, (c) - O-C 1-6 alkyl, and (d) C 1-6 alkyl optionally substituted with 1-3 halogens; R 2 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 and (b) C 3-6 cycloalkyl; 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) -CN, and (c) C 1-6 alkyl optionally substituted with 1-3 halogens; 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 and (b) C 3-6 cycloalkyl; 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) -CN, and (c) C 1-6 alkyl optionally substituted with 1-3 halogens; R 3 is selected from H, halogen, -OH, and C 1-6 alkyl optionally substituted with -OH; and each of R 4 and R 5 is independently selected from H, halogen, and C 1-6 alkyl.