Understanding type 1 diabetes