IAPP and Mental deterioration: We hypothesized that in type 2 diabetes, the dysfunctional pancreas compensates for amylin in a similar pattern it does for insulin by increasing its secretion at an early stage and declining greatly then diminishing leading to cognitive decline at a late stage of the disease.