Added energy derivation