EXPERIMENTAL wip for terminal stream input