The invention relates to compounds of formula (I) and pharmaceutically acceptablederivatives thereof, compositions comprising an effective amount of a compoundof formula I or a pharmaceutically acceptable derivative thereof, and methodsfor treating or preventing a condition such as pain, UI, an ulcer, IBD and IBS,comprising administering to an animal in need thereof an effective amount ofa compound of formula I or a pharmaceutically acceptable derivative thereof.