Finished C version of streamer