heavy overhaul to include variable streams and select the highest quality stream from them and glue those together