variable energy window, not done