A compound of formula or a pharmaceutically acceptable salt or a co-crystal thereof, wherein m and n are independently 1 or 2; X is O or NR; wherein R is H or C 1 -C 4 alkyl; Y is a bond, O, or NR; wherein R is H or C 1 -C 4 alkyl; R 1 is C 1 -C 4 alkyl; R 2 is a) a 5- or 6-membered aryl or heteroaryl ring containing one or two heteroatoms selected from the group consisting of N, O, and S, wherein the aryl and the heteroaryl ring may be substituted by 0, 1, 2, or 3 substituents R 3 independently selected from the group consisting of CN, halo, C 1 -C 4 -alkyl, C 3 -C 6 cycloalkyl, C 1 -C 4 -haloalkyl, C 1 -C 4 -alkoxy, C 1 -C 4 -haloalkoxy, C(=O)NHR 1', and a 5- or 6-membered heterocycloalkyl or heteroaryl ring wherein each ring contains 1, 2, or 3 heteroatoms selected from N, O, and S; wherein R 1' is C 1 -C 4 alkyl; or wherein two R 3 groups connected to adjacent carbon atoms of the aryl or heteroaryl ring may form a fused 5- or 6-membered ring which may contain a heteroatom selected from O, N, and S; or b) COOR 4 wherein R 4 is C 1 -C 4 -alkyl or benzyl; wherein each C 1 -C 4 -alkyl, C 1 -C 4 -haloalkyl, C 1 -C 4 -alkoxy, and C 1 -C 4 -haloalkoxy may further be substituted with OR 5 or NR 6 R 7 wherein each of R 5, R 6, and R 7 is independently H, C 1 -C 4 alkyl, or C 3 -C 6 cycloalkyl; or wherein R 6 and R 7 and the nitrogen atom to which they are attached form a saturated 5- or 6-membered ring that may contain 0 or 1 further heteroatom selected from N, O, and S and wherein the ring may be further substituted by C 1 -C 4 -alkyl; Ring A is selected from the group consisting of: wherein W is N or CR 3; and Z is O or S; wherein R 3 is H or C 1 -C 4 alkyl. wherein m and n are independently 1 or 2; X is O or NR; wherein R is H or C 1 -C 4 alkyl; Y is a bond, O, or NR; wherein R is H or C 1 -C 4 alkyl; R 1 is C 1 -C 4 alkyl; R 2 is a) a 5- or 6-membered aryl or heteroaryl ring containing one or two heteroatoms selected from the group consisting of N, O, and S, wherein the aryl and the heteroaryl ring may be substituted by 0, 1, 2, or 3 substituents R 3 independently selected from the group consisting of CN, halo, C 1 -C 4 -alkyl, C 3 -C 6 cycloalkyl, C 1 -C 4 -haloalkyl, C 1 -C 4 -alkoxy, C 1 -C 4 -haloalkoxy, C(=O)NHR 1', and a 5- or 6-membered heterocycloalkyl or heteroaryl ring wherein each ring contains 1, 2, or 3 heteroatoms selected from N, O, and S; wherein R 1' is C 1 -C 4 alkyl; or wherein two R 3 groups connected to adjacent carbon atoms of the aryl or heteroaryl ring may form a fused 5- or 6-membered ring which may contain a heteroatom selected from O, N, and S; or b) COOR 4 wherein R 4 is C 1 -C 4 -alkyl or benzyl; wherein each C 1 -C 4 -alkyl, C 1 -C 4 -haloalkyl, C 1 -C 4 -alkoxy, and C 1 -C 4 -haloalkoxy may further be substituted with OR 5 or NR 6 R 7 wherein each of R 5, R 6, and R 7 is independently H, C 1 -C 4 alkyl, or C 3 -C 6 cycloalkyl; or wherein R 6 and R 7 and the nitrogen atom to which they are attached form a saturated 5- or 6-membered ring that may contain 0 or 1 further heteroatom selected from N, O, and S and wherein the ring may be further substituted by C 1 -C 4 -alkyl; a) a 5- or 6-membered aryl or heteroaryl ring containing one or two heteroatoms selected from the group consisting of N, O, and S, wherein the aryl and the heteroaryl ring may be substituted by 0, 1, 2, or 3 substituents R 3 independently selected from the group consisting of CN, halo, C 1 -C 4 -alkyl, C 3 -C 6 cycloalkyl, C 1 -C 4 -haloalkyl, C 1 -C 4 -alkoxy, C 1 -C 4 -haloalkoxy, C(=O)NHR 1', and a 5- or 6-membered heterocycloalkyl or heteroaryl ring wherein each ring contains 1, 2, or 3 heteroatoms selected from N, O, and S; wherein R 1' is C 1 -C 4 alkyl; or wherein two R 3 groups connected to adjacent carbon atoms of the aryl or heteroaryl ring may form a fused 5- or 6-membered ring which may contain a heteroatom selected from O, N, and S; or b) COOR 4 wherein R 4 is C 1 -C 4 -alkyl or benzyl; Ring A is selected from the group consisting of: wherein W is N or CR 3; and Z is O or S; wherein R 3 is H or C 1 -C 4 alkyl.