adding new type, new out stream