init structure for streaming