The present invention relates to compounds of the formula (I) wherein Rto R are as defined in the description and claims, and pharmaceuticallyacceptable salts thereof. The compounds are useful for the treatment and/orprophylaxis of diseases which are associated with the modulation of CB1 receptors,such as obesity.