 B. Hypotheses: we hypothesize that management of inpatient hyperglycemia with a computer-guided intravenous infusion protocol Glucommander will facilitate a smoother glycemic control with a lower rate of hypoglycemic events than treatment following a standard insulin infusion algorithm or a simple calculated infusion protocol in critically ill patients in the medical and surgical ICU. 