use as-stream package