A compound of formula: and/or a pharmaceutically acceptable salt thereof, and/or solvates, racemic mixture, enantiomers, diasteromers, and tautomers thereof, wherein Ar is aryl, said aryl is a carbocyclic hydrocarbon radical of a monocyclic ring or fused rings containing 6-12 ring carbon atoms, wherein at least one ring is aromatic and none of the other rings is heteroaryl; or heteroaryl, said heteroaryl is a monocyclic aromatic hydrocarbon radical having 5, 6 or 7 ring atoms, and containing 1 or 2 heteroatoms independently chosen from N, O, and S in the ring, with the remaining ring atoms being carbon; or a bicyclic aromatic hydrocarbon radical having 9 or 10 ring atoms, and containing 1, 2, 3 or 4 heteroatoms independently chosen from N, O, and S in the rings, with the remaining ring atoms being carbon, wherein at least one of the rings is aromatic, when the total number of S and O atoms in the heteroaryl group exceeds 1, those heteroatoms are not adjacent to one another, and said heteroaryl group also includes those wherein the N heteroatom occurs as N-oxide; each of said aryl and heteroaryl is optionally substituted with one or more groups chosen from deuterium, halo, -CN, -OH, -SH, C 1-6 alkyl, C 1-6 haloalkyl, -(C 1-6 alkyl)OH, and -S 2 (C 1-6 alkyl); W is chosen from heteroaryl and -N(R 3)heteroaryl, wherein said heteroaryl is a monocyclic nitrogen-containing aromatic hydrocarbon radical having 5, 6 or 7 ring atoms, and containing 1 or 2 heteroatoms, wherein the heteroatom(s) is/are nitrogen atoms, with the remaining ring atoms being carbon; or a bicyclic nitrogen-containing aromatic hydrocarbon radical having 9 or 10 ring atoms, and containing 1, 2, 3 or 4 heteroatoms, wherein the heteroatom(s) is/are nitrogen atoms, with the remaining ring atoms being carbon, wherein at least one of the rings is aromatic; and said heteroaryl group also includes those wherein the N heteroatom occurs as N-oxide, and said heteroaryl is optionally substituted with one or more groups chosen from halo, -CN, -OH, -SH, C 1-6 alkyl, -NH 2, -NH(C 1-6 alkyl), -N(C 1-6 alkyl)(C 1-6 alkyl), -COOH, -C NH 2, -C NH(C 1-6 alkyl), - C N(C 1-6 alkyl)(C 1-6 alkyl), phenyl, and 5- or 6- membered heteroaryl; in which said 5- or 6-membered heteroaryl is monocyclic aromatic hydrocarbon radical having 5 or 6 ring atoms, and containing 1, 2 or 3 heteroatoms independently chosen from N, O, and S in the ring, with the remaining ring atoms being carbon, when the total number of S and O atoms in the heteroaryl group exceeds 1, those heteroatoms are not adjacent to one another, and each of said phenyl or said 5- or 6- membered heteroaryl as the substituent of W is optionally substituted with one or more groups chosen from halo, -OH, -SH, C 1-6 alkyl, and -O(C 1-6 alkyl); R 1 is independently chosen from H, halo, and C 1-6 alkyl; R 2 is chosen from C 1-6 alkyl; R 3 is H or C 1-6 alkyl; m is 1 or 2. Ar is aryl, said aryl is a carbocyclic hydrocarbon radical of a monocyclic ring or fused rings containing 6-12 ring carbon atoms, wherein at least one ring is aromatic and none of the other rings is heteroaryl; or heteroaryl, said heteroaryl is a monocyclic aromatic hydrocarbon radical having 5, 6 or 7 ring atoms, and containing 1 or 2 heteroatoms independently chosen from N, O, and S in the ring, with the remaining ring atoms being carbon; or a bicyclic aromatic hydrocarbon radical having 9 or 10 ring atoms, and containing 1, 2, 3 or 4 heteroatoms independently chosen from N, O, and S in the rings, with the remaining ring atoms being carbon, wherein at least one of the rings is aromatic, when the total number of S and O atoms in the heteroaryl group exceeds 1, those heteroatoms are not adjacent to one another, and said heteroaryl group also includes those wherein the N heteroatom occurs as N-oxide; each of said aryl and heteroaryl is optionally substituted with one or more groups chosen from deuterium, halo, -CN, -OH, -SH, C 1-6 alkyl, C 1-6 haloalkyl, -(C 1-6 alkyl)OH, and -S 2 (C 1-6 alkyl); W is chosen from heteroaryl and -N(R 3)heteroaryl, wherein said heteroaryl is a monocyclic nitrogen-containing aromatic hydrocarbon radical having 5, 6 or 7 ring atoms, and containing 1 or 2 heteroatoms, wherein the heteroatom(s) is/are nitrogen atoms, with the remaining ring atoms being carbon; or a bicyclic nitrogen-containing aromatic hydrocarbon radical having 9 or 10 ring atoms, and containing 1, 2, 3 or 4 heteroatoms, wherein the heteroatom(s) is/are nitrogen atoms, with the remaining ring atoms being carbon, wherein at least one of the rings is aromatic; and said heteroaryl group also includes those wherein the N heteroatom occurs as N-oxide, and said heteroaryl is optionally substituted with one or more groups chosen from halo, -CN, -OH, -SH, C 1-6 alkyl, -NH 2, -NH(C 1-6 alkyl), -N(C 1-6 alkyl)(C 1-6 alkyl), -COOH, -C NH 2, -C NH(C 1-6 alkyl), - C N(C 1-6 alkyl)(C 1-6 alkyl), phenyl, and 5- or 6- membered heteroaryl; in which said 5- or 6-membered heteroaryl is monocyclic aromatic hydrocarbon radical having 5 or 6 ring atoms, and containing 1, 2 or 3 heteroatoms independently chosen from N, O, and S in the ring, with the remaining ring atoms being carbon, when the total number of S and O atoms in the heteroaryl group exceeds 1, those heteroatoms are not adjacent to one another, and each of said phenyl or said 5- or 6- membered heteroaryl as the substituent of W is optionally substituted with one or more groups chosen from halo, -OH, -SH, C 1-6 alkyl, and -O(C 1-6 alkyl); R 1 is independently chosen from H, halo, and C 1-6 alkyl; R 2 is chosen from C 1-6 alkyl; R 3 is H or C 1-6 alkyl; m is 1 or 2.