working text output