A sustainable way to generate hydrogen fuel