learning how to stream data