Compounds having the structural formula I or a pharmaceutically acceptable salt thereof, wherein R is optionally substituted phenyl, cycloalkenyl, or heteroaryl; X is alkylene or -C(O)CH<;SUB>;2<;/SUB>;-; Y is -N(R<;SUP>;2<;/SUP>;)CH<;SUB>;2<;/SUB>;CH<;SUB>;2<;/SUB>;N(R<;SUP>;3<;/SUP>;)-, -OCH<;SUB>;2<;/SUB>;CH<;SUB>;2<;/SUB>;N(R<;SUP>;2<;/SUP>;)-, -O-, -S-, -CH<;SUB>;2<;/SUB>;S-, -(CH<;SUB>;2<;/SUB>;)<;SUB>;2<;/SUB>;-NH-, or optionally substituted m and n are 2-3, and Q is nitrogen or optionally substituted carbon; and Z is optionally substituted phenyl, phenylalkyl or heteroaryl, diphenylmethyl, R<;SUP>;6<;/SUP>;-C(O)-, R<;SUP>;6<;/SUP>;-SO<;SUB>;2<;/SUB>;-, R<;SUP>;6<;/SUP>;-OC(O)-, R<;SUP>;7<;/SUP>;-N(R<;SUP>;8<;/SUP>;)-C(O)-, R<;SUP>;7<;/SUP>;-N(R<;SUP>;8<;/SUP>;)-C(S)-, phenyl-CH(OH)-, or phenyl-C(-NOR<;SUP>;2<;/SUP>;)-; or when Q is CH, phenylamino or pyridylamino; or Z and Y together are substituted piperidinyl or substituted phenyl; and R<;SUP>;2<;/SUP>;, R<;SUP>;3<;/SUP>;, R<;SUP>;6<;/SUP>;, R<;SUP>;7<;/SUP>;, and R<;SUP>;8 <;/SUP>;are as defined in the specification are disclosed, their use in the treatment of Parkinson's disease, alone or in combination with other agents for treating Parkinson's disease, and pharmaceutical compositions comprising them; also disclosed are a processes for preparing intermediates useful for preparing compounds of formula I.