oops, this was broken
make this pass the outputstream for now

will clean this up later