wip: stream prototype