can make istreams not lazy but can't see to get it right.
homework 6 done.