Modulating the functions of hIAPP barrel-like structures by small molecules will manifest in stabilization of the membrane and helps to restore the function of islet β-cells.