maximizing energy efficiency