text output in place. New lines not working