io.stream with window-argument