call create stream fn