text output minor mod