In two random-order , crossover studies with similar but distinct designs , we compared glycemic control with a wearable , bihormonal , automated , `` bionic '' pancreas ( bionic-pancreas period ) with glycemic control with an insulin pump ( control period ) for 5 days in 20 adults and 32 adolescents with type 1 diabetes mellitus .