simpified the stdout