stable and optimized