A compound of formula I, including pharmaceutically acceptable salts thereof: wherein n, m are 1; R 1 is methyl; R 2 is phenyl that is substituted with 1-2 halo R 3 is hydrogen; R 5 is selected from hydrogen, halo, alkyl, haloalkyl, hydroxyalkyl, alkoxyalkyl, alkoxy, hydroxyalkyloxy, alkoxyalkyloxy, COOR 11 and CON(R 12)(R 13); R 4 and R 6 are hydrogen; R 11 is hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, hydroxyl, alkoxy, and haloalkoxy; R 12, R 13 are each independently hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, hydroxyl, alkoxy, and haloalkoxy; or R 12 and R 13 can form a ring by joining two atoms, one from each of R 12 and R 13; R 14 is hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, hydroxyl, alkoxy, and haloalkoxy; R 7 is hydrogen; R 21 and R 22 are independently hydrogen, alkyl, hydroxyalkyl, alkoxyalkyl, alkylsulfonyl, or alkylsulfonylalkyl; or N(R 21)(R 22) taken together is azetidinyl, pyrrolidinyl, piperidinyl, or piperazinyl, and is substituted with 0-2 substituents selected from alkyl, hydroxyalkyl, and hydroxy; X, Y are independently selected from CR 31 R 32, CO, O, NR 33, NCN, S, SO, and S 2; R 31, R 32 are each independently alkyl or cycloalkyl, further substituted with 0-3 substituents; or R 31 and R 32 can form a ring by joining two atoms, one from each of R 31 and R 32; R 33 is hydrogen, alkyl, cycloalkyl, or S 2 R 11 with 0-3 substituents selected from halo, haloalkoxy, OR 11, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13; Z is an alkylene or alkenylene chain containing 0-12 groups selected from the group consisting of O, NR 41, S, S, S 2, C, C O, C NR 41, C NR 41, O-C NR 41, NR 41 C NR 42, and Ar 2, provided that any O or S atom does not directly bond to another O or S atom, such that ring A is 11-24 membered; and further wherein the alkylene or alkenylene chain is substituted with 0-6 substituents selected from alkyl, cycloalkyl, halo, alkoxy, haloalkyl, OH, OR 11, haloalkoxy, NH 2, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, NR 14 CONR 12 R 13, and Ar 3; R 41, R 42 is hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, haloalkoxy, OR 11, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13; Ar 2 is phenyl, 5-membered heteroaryl or 6-membered heteroaryl, and is substituted with 0-3 substituents selected from cyano, halo, alkyl, cycloalkyl, haloalkyl, OH, OR 11, haloalkoxy, NH 2, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13; Ar 3 is phenyl, 5-membered heteroaryl or 6-membered heteroaryl, and is substituted with 0-3 substituents selected from cyano, halo, alkyl, cycloalkyl, haloalkyl, OH, OR 11, haloalkoxy, NH 2, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13. n, m are 1; R 1 is methyl; R 2 is phenyl that is substituted with 1-2 halo R 3 is hydrogen; R 5 is selected from hydrogen, halo, alkyl, haloalkyl, hydroxyalkyl, alkoxyalkyl, alkoxy, hydroxyalkyloxy, alkoxyalkyloxy, COOR 11 and CON(R 12)(R 13); R 4 and R 6 are hydrogen; R 11 is hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, hydroxyl, alkoxy, and haloalkoxy; R 12, R 13 are each independently hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, hydroxyl, alkoxy, and haloalkoxy; or R 12 and R 13 can form a ring by joining two atoms, one from each of R 12 and R 13; R 14 is hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, hydroxyl, alkoxy, and haloalkoxy; R 7 is hydrogen; R 21 and R 22 are independently hydrogen, alkyl, hydroxyalkyl, alkoxyalkyl, alkylsulfonyl, or alkylsulfonylalkyl; or N(R 21)(R 22) taken together is azetidinyl, pyrrolidinyl, piperidinyl, or piperazinyl, and is substituted with 0-2 substituents selected from alkyl, hydroxyalkyl, and hydroxy; X, Y are independently selected from CR 31 R 32, CO, O, NR 33, NCN, S, SO, and S 2; R 31, R 32 are each independently alkyl or cycloalkyl, further substituted with 0-3 substituents; or R 31 and R 32 can form a ring by joining two atoms, one from each of R 31 and R 32; R 33 is hydrogen, alkyl, cycloalkyl, or S 2 R 11 with 0-3 substituents selected from halo, haloalkoxy, OR 11, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13; Z is an alkylene or alkenylene chain containing 0-12 groups selected from the group consisting of O, NR 41, S, S, S 2, C, C O, C NR 41, C NR 41, O-C NR 41, NR 41 C NR 42, and Ar 2, provided that any O or S atom does not directly bond to another O or S atom, such that ring A is 11-24 membered; and further wherein the alkylene or alkenylene chain is substituted with 0-6 substituents selected from alkyl, cycloalkyl, halo, alkoxy, haloalkyl, OH, OR 11, haloalkoxy, NH 2, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, NR 14 CONR 12 R 13, and Ar 3; R 41, R 42 is hydrogen, alkyl or cycloalkyl with 0-3 substituents selected from halo, haloalkoxy, OR 11, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13; Ar 2 is phenyl, 5-membered heteroaryl or 6-membered heteroaryl, and is substituted with 0-3 substituents selected from cyano, halo, alkyl, cycloalkyl, haloalkyl, OH, OR 11, haloalkoxy, NH 2, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13; Ar 3 is phenyl, 5-membered heteroaryl or 6-membered heteroaryl, and is substituted with 0-3 substituents selected from cyano, halo, alkyl, cycloalkyl, haloalkyl, OH, OR 11, haloalkoxy, NH 2, NR 12 R 13, COOR 11, CONR 12 R 13, S 2 R 11, S 2 NR 12 R 13, and NR 14 CONR 12 R 13.