make output for stdout