get streams mostly working
finalize stream functionality