adding marked factory input stream