Overall relations of cognitive function with various factors (such as age, insulin dose, HbA1c, metabolic syndrome, BMI, metformin usage and diabetes duration) in T2DM were analyzed. The gene discussed is INS; the disease is diabetes mellitus.