Issue #6: trimmed down Streams.java