Added energy check