naively replace List to Stream, compiles