A compound of formula II -h: or a pharmaceutically acceptable salt thereof, wherein: R 1 is C 1-4 aliphatic; R 2 is halogen, -OR, -SR, -N 2, -N C R, -C N 2, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, -SO 2 R, -B 2, or Hy, where Hy is selected from 4-8 membered saturated or partially unsaturated monocyclic heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, a 5-6 membered monocyclic heteroaromatic ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or an 8-10 membered bicyclic heteroaromatic ring having 1-5 heteroatoms independently selected from nitrogen, oxygen, or sulfur; wherein R 2 is not optionally substituted benzyl; each R is independently hydrogen, deuterium, or an optionally substituted group selected from C 1-6 aliphatic, a 3-8 membered saturated or partially unsaturated monocyclic carbocyclic ring, phenyl, an 8-10 membered bicyclic aromatic carbocyclic ring; a 4-8 membered saturated or partially unsaturated monocyclic heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, a 5-6 membered monocyclic heteroaromatic ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or an 8-10 membered bicyclic heteroaromatic ring having 1-5 heteroatoms independently selected from nitrogen, oxygen, or sulfur; R 3 is halogen, -CN, -OR, -SR, -N 2, -N C R, -C N 2, -C N S 2 R, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, -SO 2 R, -B 2, or an optionally substituted ring selected from phenyl or 5-6 membered heterocyclyl or heteroaryl having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur; R 4 is phenyl optionally substituted with n instances of R 8; each of R 5 and R 5 ' is independently -R, -OR, -SR, -N 2, -N C R, -C N 2, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, or -SO 2 R; or R 5 and R 5' are taken together to form a cyclopropylenyl, cyclobutylenyl, or oxetanyl group; each of R 7 and R 7' is independently, -R, -OR 6, -SR, -N 2, -N C R, -C N 2, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, -SO 2 R, or -B 2; or R 7 and R 7' are taken together to form a 3-8 membered saturated or partially unsaturated monocyclic carbocyclic ring, or a 4-8 membered saturated or partially unsaturated monocyclic heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur; R 6 is -R, -C N 2, or -C R; each R 8 is independently selected from halogen, -R, -OR, -SR, -N 2 or deuterium; and n is 0-5. R 1 is C 1-4 aliphatic; R 2 is halogen, -OR, -SR, -N 2, -N C R, -C N 2, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, -SO 2 R, -B 2, or Hy, where Hy is selected from 4-8 membered saturated or partially unsaturated monocyclic heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, a 5-6 membered monocyclic heteroaromatic ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or an 8-10 membered bicyclic heteroaromatic ring having 1-5 heteroatoms independently selected from nitrogen, oxygen, or sulfur; wherein R 2 is not optionally substituted benzyl; each R is independently hydrogen, deuterium, or an optionally substituted group selected from C 1-6 aliphatic, a 3-8 membered saturated or partially unsaturated monocyclic carbocyclic ring, phenyl, an 8-10 membered bicyclic aromatic carbocyclic ring; a 4-8 membered saturated or partially unsaturated monocyclic heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur, a 5-6 membered monocyclic heteroaromatic ring having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur, or an 8-10 membered bicyclic heteroaromatic ring having 1-5 heteroatoms independently selected from nitrogen, oxygen, or sulfur; R 3 is halogen, -CN, -OR, -SR, -N 2, -N C R, -C N 2, -C N S 2 R, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, -SO 2 R, -B 2, or an optionally substituted ring selected from phenyl or 5-6 membered heterocyclyl or heteroaryl having 1-4 heteroatoms independently selected from nitrogen, oxygen, or sulfur; R 4 is phenyl optionally substituted with n instances of R 8; each of R 5 and R 5 ' is independently -R, -OR, -SR, -N 2, -N C R, -C N 2, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, or -SO 2 R; or R 5 and R 5' are taken together to form a cyclopropylenyl, cyclobutylenyl, or oxetanyl group; each of R 7 and R 7' is independently, -R, -OR 6, -SR, -N 2, -N C R, -C N 2, -N C N 2, -N C OR, -OC N 2, -N SO 2 R, -SO 2 N 2, -C R, -C OR, -OC R, -S R, -SO 2 R, or -B 2; or R 7 and R 7' are taken together to form a 3-8 membered saturated or partially unsaturated monocyclic carbocyclic ring, or a 4-8 membered saturated or partially unsaturated monocyclic heterocyclic ring having 1-2 heteroatoms independently selected from nitrogen, oxygen, or sulfur; R 6 is -R, -C N 2, or -C R; each R 8 is independently selected from halogen, -R, -OR, -SR, -N 2 or deuterium; and n is 0-5.