energia optimizations