added access to underline stream