provide an interface to access generated output more as a stream