Optimizing the Output Quality