initial pass at #21

might be too difficult but there are a lot of approaches... also, not sure if there is a good way to verify that the output is streamed tbh.