prepare streaming
merge