finished text wrapping (untested)