working on text output