stream in should be stream out