Its main purpose is to deal with nocturnal hypoglycaemia upon its detection by injecting glucagon, automatically. The gene discussed is GCG; the disease is Hypoglycemia.