now passing BufferedStream to handle