Researchers have found out the reason why a sleeping disorder or working past late at night  is discovered to be the reason why people put themselves at higher risk for getting a type 2 diabetes. A variation is a reason why insulin-producing beta cells to become more sensitive to melatonin. Thus, it affects the patients' ability to produce insulin and get the blood sugar out of control.

Melatonin tries to make the circadian rhythm be compatible with light and dark throughout the entire day. The hormone levels up, it peaks at night, when someone is sleeping, as reported in UPI. That is one of the reasons why Melatonin has been used as a medicine for sleeping.

Previous research done by the same set of researchers within Lund University in 2009 proved that a gene variant in melatonin receptor 1B levels up the type 2 diabetes risk, as reported by the same publication.

The variant is the cause why melatonin receptor levels in beta cells grow as time passes by. This, thus, makes them more shy away from melatonin. This, hence, hinder them from producing the needed insulin.

However, specialists discovered a sleeping pancreas produces fewer insulin, however, the levels of insulin drops every night are not the same individual to individual, as reported in the May 12, 2016's issue of Cell Metabolism, published in an article in Science Daily.

Lund University in Sweden and Leif Groop's Hindrik Mulder further explained how Type 2 diabetes develops:

"Type 2 diabetes is a polygenetic disease, so it's not one gene that causes the disease: there are probably hundreds of genes that jointly predispose individuals, from which you can infer that the contribution of each individual gene will be quite small."

Mulder said though that there still has been no proof for the theory stated above, hence, it needs to be studied further in the future.