The present invention relates to compounds of formula I, and wherein group R1, R2, X, Y and Z is as defined in claim 1, these compounds have useful pharmacological property, are especially bound to AMP-activated protein kinases (AMPK) and modulate its activity. The compound is suitable for treating and preventing can be by this receptor, such as metabolic diseases, especially diabetes type 2.