optimized output