Medication to treat type 2 diabetes