A DO prescribes a patient metformin for type 2 diabetes.Which mechanism of action best describes metformin?