work on retrieving streams from inside server