We conducted a secondary analysis of the Action for Health in Diabetes ( Look AHEAD ) study , which is a randomized intervention trial of adults who were obese and had type 2 diabetes mellitus starting in 2001 .