Added putStream