adding -istreams, -ostream functions