New ways of treating diabetes