Treating obesity to fight type 2 diabetes