Mg energy