wl engine optimizations