trying buffered streams