improved stdout output