Disclosed are carboxamide, sulfonamide and amine compounds, as well as
pharmaceutical compositions and methods of use. One embodiment is a
compound having the structure
##STR00001##
in which R.sup.1, R.sup.2, R.sup.4, D, E, J, T, p, q and x are as
described herein. In certain embodiments, a compound disclosed herein
activates the AMPK pathway, and can be used to treat metabolism-related
disorders and conditions.