it has even been studied as a treatment for diabetes