begin stream support