A total of @ adolescents ( ages , @-@ years ) with type @ diabetes and their caregivers were randomized to a positive psychology intervention ( n = @ ) or an attention control ( education ) intervention ( n = @ ) .