optimizing text