The present invention provides novel compounds of formula I,wherein the substituents are as those disclosed in the specification. These compounds, and the pharmaceutical compositions containing them, are useful for the treatment of metabolic diseases and disorders such as, for example, type II diabetes mellitus.