optimizing system efficiency