A compound of the formula: wherein: n is 0-3; Ar is heteroarenediyl (C≤8) or a substituted version thereof; and Y is: hydrogen, hydroxy, halo, amino, or cyano or -NCO; or alkyl (C≤8), cycloalkyl (C≤8), alkenyl (C≤8), alkynyl (C≤8), aryl (C≤12), aralkyl (C≤12), heteroaryl (C≤8), heterocycloalkyl (C≤12), acyl (C≤12), alkoxy (C≤8), aryloxy (C≤12), acyloxy (C≤8), alkylamino (C≤8), dialkylamino (C≤8), arylamino (C≤8), aralkylamino (C≤8), alkylthio (C≤8), acylthio (C≤8), alkylsulfonylamino (C≤8), or substituted versions of any of these groups; or a pharmaceutically acceptable salt thereof; and wherein in the substituted versions of alkyl (C≤8), cycloalkyl (C≤8), alkenyl (C≤8), alkynyl (C≤8), aryl (C≤8), aralkyl (C≤12), heteroaryl (C≤8), acyl (C≤12), alkoxy (C≤8), aryloxy (C≤12), acyloxy (C≤8), alkylamino (C≤8), dialkylamino (C≤8), arylamino (C≤8), aralkylamino (C≤8), alkylthio (C≤8), acylthio (C≤8), alkylsulfonylamino (C≤8) one or more hydrogen atom has been independently replaced by -OH, -F, -Cl, -Br, -I, -NH 2, -NO 2, -CO 2 H, -CO 2 CH 3, -CN, -SH, -OCH 3, -OCH 2 CH 3, -C CH 3, -NHCH 3, -NHCH 2 CH 3, -N(CH 3) 2, -C NH 2, -OC CH 3, or -S 2 NH 2 in the substituted version of heterocycloalkyl (C≤8), one or more hydrogen atom has been independently replaced by -OH, -F, -Cl, -Br, -I, -NH 2, -NO 2, -CO 2 H, -CO 2 CH 3, -CN, -SH, -OCH 3, -OCH 2 CH 3, -C CH 3, -NHCH 3, -NHCH 2 CH 3, -N(CH 3) 2, -C NH 2, -OC CH 3, -S 2 NH 2 or -C OC(CH 3) 3; the term "aryl" refers to a monovalent aromatic group with an aromatic carbon atom as the point of attachment which forms part of a one or more six-membered aromatic ring structure, wherein the ring atoms are all carbon, and wherein, if more than one ring is present, the rings may be fused or unfused, and wherein one or more alkyl or aralkyl groups may be attached to the first aromatic ring or any additional aromatic ring present, if permitted by the carbon number limitation; the term "heteroaryl" refers to a monovalent aromatic group with an aromatic carbon atom or nitrogen atom as the point of attachment, said carbon atom or nitrogen atom forming part of one or more aromatic ring structures wherein at least one of the ring atoms is nitrogen, oxygen or sulfur, wherein the heteroaryl group consists of no atoms other than carbon, hydrogen, aromatic nitrogen, aromatic oxygen and aromatic sulfur, wherein if more than one ring is present, the rings may be fused or unfused, and wherein one or more alkyl, aryl, and/or aralkyl groups may be attached to the aromatic ring or aromatic ring system, if permitted by the carbon number limitation; the term "heteroarenediyl" refers to a divalent aromatic group, with two aromatic carbon atoms, two aromatic nitrogen atoms, or one aromatic carbon atom and one aromatic nitrogen atom as the two points of attachment, said atoms forming part of one or more aromatic ring structure(s) wherein at least one of the ring atoms is nitrogen, oxygen or sulfur, wherein the divalent group consists of no atoms other than carbon, hydrogen, aromatic nitrogen, aromatic oxygen and aromatic sulfur, wherein, if more than one ring is present, the rings may be fused or unfused, wherein unfused rings may be connected via one or more of the following: a covalent bond, alkenediyl, oar alkellediyl groups, if permitted by the carbon number limitation, and wherein one or more alkyl, aryl, and/or aralkyl groups may be attached to the aromatic ring or aromatic ring system, if permitted by the carbon number limitation; the term "heterocycloalkyl" refers to a monovalent non-aromatic group with a carbon atom or nitrogen atom as the point of attachment, said carbon atom or nitrogen atom forming part of one or more non-aromatic ring structures wherein at least one of the ring atoms is nitrogen, oxygen or sulfur, wherein the heterocycloalkyl group consists of no atoms other than carbon, hydrogen, nitrogen, oxygen and sulfur, wherein, if more than one ring is present, the rings may be fused or unfused, wherein, the one or more alkyl groups may be attached to the ring or ring system, if permitted by the carbon number limitation, and wherein one or more double bonds may be present in the ring or ring system, provided that the resulting group remains non-aromatic; the term "acyl" refers to the group -C R, in which R is a hydrogen, alkyl, aryl, aralkyl or heteroaryl; and the term "dialkylamino" refers to the group -NRR', in which R and R' can be the same or different alkyl groups, or R and R' can be taken together to represent an alkanediyl. n is 0-3; Ar is heteroarenediyl (C≤8) or a substituted version thereof; and Y is: hydrogen, hydroxy, halo, amino, or cyano or -NCO; or alkyl (C≤8), cycloalkyl (C≤8), alkenyl (C≤8), alkynyl (C≤8), aryl (C≤12), aralkyl (C≤12), heteroaryl (C≤8), heterocycloalkyl (C≤12), acyl (C≤12), alkoxy (C≤8), aryloxy (C≤12), acyloxy (C≤8), alkylamino (C≤8), dialkylamino (C≤8), arylamino (C≤8), aralkylamino (C≤8), alkylthio (C≤8), acylthio (C≤8), alkylsulfonylamino (C≤8), or substituted versions of any of these groups; hydrogen, hydroxy, halo, amino, or cyano or -NCO; or alkyl (C≤8), cycloalkyl (C≤8), alkenyl (C≤8), alkynyl (C≤8), aryl (C≤12), aralkyl (C≤12), heteroaryl (C≤8), heterocycloalkyl (C≤12), acyl (C≤12), alkoxy (C≤8), aryloxy (C≤12), acyloxy (C≤8), alkylamino (C≤8), dialkylamino (C≤8), arylamino (C≤8), aralkylamino (C≤8), alkylthio (C≤8), acylthio (C≤8), alkylsulfonylamino (C≤8), or substituted versions of any of these groups;