improved format of text output