New technique improves blood sugar control for pwd