If patients are agreeable to participate in the discharge part of the study, the investigators will randomized them to a treatment group based on their admission HbA1c. The investigators will follow these patients for 3 months with phone calls and clinic visits, and will monitor their blood sugars. This is to compare the efficacy of linagliptin and our discharge treatment algorithm in controlling blood sugars as out patients.