changing data from static to streaming