implemented stream server