Now writes lots of different energies.