altered to account for energies