class 04 - streams done, but with some bugs