energy regularization