The present invention is directed to compounds of Formula I:wherein X is N or CR1; Y is N or CR2; R1 is H, alkoxy, halo, triazolyl, pyrimidinyl, oxazolyl, isoxazole, oxadiazolyl, or pyrazolyl; R2 is H, alkyl, alkoxy, or halo; Z is NH or O; R3 is H, alkyl, alkoxy, halo, or triazolyl; R4 is H or alkyl; or R3 and R4, together with the atoms to which they are attached, form a 6- membered aryl ring or a 5- or 6-membered heteroaryl ring; R5 is pyridyl, pyrazinyl, or pyrimidinyl, wherein the pyridyl, pyrazinyl, or pyrimidinyl is optionally substituted with halo or alkyl; and n is 1 or 2. Methods of making the compounds of Formula I are also described. The invention also relates to pharmaceutical compositions comprising compounds of Formula I. Methods of using the compounds of the invention are also within the scope of the invention.本發明係關於式I化合物:其中X為N或CR1;Y為N或CR2;R1為H、烷氧基、鹵基、三唑基、嘧啶基、唑基、異唑基、二唑基或吡唑基;R2為H、烷基、烷氧基或鹵基;Z為NH或O;R3為H、烷基、烷氧基、鹵基或三唑基;R4為H或烷基;或R3與R4連同其所接附之原子一起形成一6員芳環或一5或6員雜芳環;R5為吡啶基、吡基、或嘧啶基,其中該吡啶基、吡基或嘧啶基為可選擇地經鹵基或烷基取代;以及n為1或2。亦說明製造式I化合物之方法。本發明亦關於包含式I化合物之醫藥組成物。本發明化合物之使用方法亦屬於本發明之範疇。