optimized code quality