switched over to streamed for IO purposes