Optimized code, killed errors