new analysis, optimizations