print out stream