The present invention relates to compounds of formula (I) as well as pharmaceutically acceptable salts thereof. The are useful as HSL inhibitors and may, for example, be used in treatment of diabetes, metabolic syndrome, dyslipidemia, atherosclerosis, and obesity.